ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Veaceslav Grecea <grecea@webartstudio.md>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Q: [WebPolicy]: Как вебмастеру его права , не давая ему root?
Date: Thu, 4 Sep 2008 16:01:42 +0300
Message-ID: <200809041601.42780.grecea@webartstudio.md> (raw)
In-Reply-To: <20080904122304.GH25767@osdn.org.ua>

On Четверг 04 сентября 2008, Michael Shigorin wrote:
> [из жабера]
>
> [15:13:20] <mike> по-хорошему -- пакет живёт в /usr/share/%name или
> /usr/lib/cgi-bin/%name [15:13:22] <mike> под рутом
> [15:13:46] <mike> а _копия_ кода со своим конфигом -- от имени вебмастера
> конкретного виртхоста в докруте этого вхоста 
> [15:13:57] <mike> с симлинками  и прочим скорее никак
> [15:14:17] <mike> если не симлинкать всё подряд, то так умеют на сейчас
> считанные единицы софта (например, typo3)

Лучше только конфиг на уровень выше докрута статического контента хоста.
А вместо симлинков (для сайтов) сделать так:

DocumentRoot    "/var/www/webapps/<cms_name>/sites/<cms_id>/<site_name>"
DirectoryIndex  start.php
Alias  /start.php  /usr/share/<cms_name>/docroot/start.php
AliasMatch  ^/(bla-bla)$      "/usr/share/php/siafu/docroot/start.php/$1"

Разделяются точки входа админ-интерфейса cms и сайта как такового.

-- 
wbr, slavutich

  parent reply	other threads:[~2008-09-04 13:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02 10:07 [Sysadmins] Q: [WebPolicy]: Как вебмастеру его права, " Aleksey Avdeev
2008-09-02 10:23 ` [Sysadmins] Q: [WebPolicy]: Как вебмастеру его права , " Yuri Bushmelev
2008-09-02 11:02   ` Aleksey Avdeev
2008-09-02 11:07     ` Yuri Bushmelev
2008-09-02 12:51       ` [Sysadmins] [devel] Q: [WebPolicy]: Как вебмастеру его права,не " Aleksey Avdeev
2008-09-03  5:43         ` [Sysadmins] " Vladimir V. Kamarzin
2008-09-03  8:53           ` Aleksey Avdeev
2008-09-03 10:20             ` Vladimir V. Kamarzin
2008-09-03 11:51               ` Aleksey Avdeev
2008-09-04 11:27 ` [Sysadmins] Q: [WebPolicy]: Как вебмастеру его права, не " Michael Shigorin
2008-09-04 11:36   ` Aleksey Avdeev
2008-09-04 12:23     ` Michael Shigorin
2008-09-04 12:50       ` Aleksey Avdeev
2008-09-04 13:37         ` Michael Shigorin
2008-09-04 20:28           ` Aleksey Avdeev
2008-09-04 13:01       ` Veaceslav Grecea [this message]
2008-09-04 13:11       ` [Sysadmins] Q: [WebPolicy]: Как вебмастеру его права , " Veaceslav Grecea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200809041601.42780.grecea@webartstudio.md \
    --to=grecea@webartstudio.md \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git