From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] МНБШИ apache2
Date: Wed, 28 Mar 2007 12:46:22 +0400
Message-ID: <460A2B5E.6020501@solin.spb.ru> (raw)
In-Reply-To: <460A1269.80702@reutman.ru>
[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]
Alexey Sidorov пишет:
> Здравствуйте.
> Обновил apache2 до 2.2.4-alt14
>
> Куда бы теперь сунуться, дабы почитать про настройку в сжатом виде?
>
> так, с ходу, переименовал httpd2.conf.rpmnew -> httpd2.conf
> Попробовал запустить, получил
> alex:alexlin ~$ sudo service httpd2 start
> Checking configuration sanity for httpd2: Syntax error on line 7 of
> /etc/httpd2/conf/addon.d/A.apache2-mod_php5.conf:
> Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the
> server configuration
>
> ?
Для данной дерективы -- mod_dir нужен (см.
<http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex>),
который в данной сборке по умолчанию не подключается (а в самом
/etc/httpd2/conf/addon.d/A.apache2-mod_php5.conf -- деректива тебующая
данный модуль неограничена через <IfModule dir_module> ... </IfModule>).
Варианты включения модуля:
1. Быстрый:
$ sudo -H /usr/sbin/a2enmod dir
Возможно отключение при выполнении /usr/sbin/a2chkconfig, если
требование отключить его будет присутствовать в каком либо из
/etc/httpd2/conf/mods-start.d/*.conf (a2chkconfig может вызываться при
установке/обновлении/удалении связанных с apache2 патов).
2. Надёжный:
$ sudo -H sh -с 'еcho "dir=yes" >> 900-lacal.conf'
$ sudo -H /usr/sbin/a2chkconfig
PS: Прошу обратить внимание на
<http://bugzilla.altlinux.org/show_bug.cgi?id=8584> и
<http://bugzilla.altlinux.org/show_bug.cgi?id=11245>.
--
С уважением. Алексей.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]
prev parent reply other threads:[~2007-03-28 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-28 6:59 [sisyphus] новый apache2 Alexey Sidorov
2007-03-28 8:46 ` Aleksey Avdeev [this message]
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=460A2B5E.6020501@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