ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] I: Устанока DirectoryIndex для apache2 (was:  apache2 Х index.php)
Date: Sun, 17 Jun 2007 05:28:11 +0400
Message-ID: <46748E2B.6010508@solin.spb.ru> (raw)
In-Reply-To: <466433AA.1000001@solin.spb.ru>

Aleksey Avdeev пишет:
...
> 
>   Я незнаю, как составить активный DirectoryIndex из нескольких
> заготовок... :-/
> 
>   На данный момент вижу такие варианты:
> 
> 1. Прописывать нужный DirectoryIndex более локально (внутри <Directory
> ..>...</Directory> и т. п.) -- это должно перекрыть глобальную настройку.
> 
> 2. Переместить /etc/httpd2/conf/mods-available/dir.conf куданибудь в
> /etc/httpd2/conf/extra-available/*.conf -- это позволит иметь несколько
> вариантов и выбирать из них нужный стандартными средсвами...

  Начиная с apache2-2.2.4-alt27,
/etc/httpd2/conf/mods-available/dir.conf заменён на
/etc/httpd2/conf/extra-available/dir_defoult.conf, подключаемый через
/etc/httpd2/conf/extra-start.d/000-default.conf.

  Для перекрытия стандартных настроек можно делать следующие:

1. Создать свой /etc/httpd2/conf/extra-available/my_dir.conf с
необходимыми настройками.

2. Создать свой /etc/httpd2/conf/extra-start.d/900-my.conf, содержащий:

dir_defoult=no
my_dir=yes

3. Запустить /usr/sbin/a2chkconfig

PS: apache2-2.2.4-alt2{5,6} содержали не все умолчальные конфиги.

-- 

С уважением. Алексей.




  reply	other threads:[~2007-06-17  1:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01  4:26 [sisyphus] apache2 и index.php Alexey Sidorov
2007-06-03  2:30 ` [sisyphus] apache2 Х index.php Aleksey Avdeev
2007-06-04  4:57   ` Alexey Sidorov
2007-06-04 10:32     ` Aleksey Avdeev
2007-06-04 11:38       ` Alexey Sidorov
2007-06-04 15:45         ` Aleksey Avdeev
2007-06-17  1:28           ` Aleksey Avdeev [this message]
2007-06-17  5:24             ` [sisyphus] I: Устанока DirectoryIndex для apache2 Алексей Сидоров
2007-06-18  9:45               ` Aleksey Avdeev
2007-06-18 12:28                 ` Aleksey Avdeev

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=46748E2B.6010508@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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