ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] новый apache2
@ 2007-03-28  6:59 Alexey Sidorov
  2007-03-28  8:46 ` [sisyphus] МНБШИ apache2 Aleksey Avdeev
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Sidorov @ 2007-03-28  6:59 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте.
Обновил 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

?

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] МНБШИ apache2
  2007-03-28  6:59 [sisyphus] новый apache2 Alexey Sidorov
@ 2007-03-28  8:46 ` Aleksey Avdeev
  0 siblings, 0 replies; 2+ messages in thread
From: Aleksey Avdeev @ 2007-03-28  8:46 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-28  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-28  6:59 [sisyphus] новый apache2 Alexey Sidorov
2007-03-28  8:46 ` [sisyphus] МНБШИ apache2 Aleksey Avdeev

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