Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209425 - www-servers/apache-2.2.8-r1 AddDirectoryIndex error when -D PHPx used.
Summary: www-servers/apache-2.2.8-r1 AddDirectoryIndex error when -D PHPx used.
Status: RESOLVED DUPLICATE of bug 209033
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-09 12:33 UTC by Paul Wollaston
Modified: 2008-02-09 12:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Wollaston 2008-02-09 12:33:41 UTC
Using www-servers/apache-2.2.8-r1 with -D PHP5 in the conf.d/apache2 file, causes Apache to crash out during startup with the following error:

 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 17 of /etc/apache2/modules.d/70_mod_php5.conf:
Invalid command 'AddDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration

Downgrading to www-servers/apache-2.2.8 fixes this issue.

Reproducible: Always

Steps to Reproduce:
1. Merge in www-servers/apache-2.2.8-r1
2. /etc/init.d/apache2 start

Actual Results:  
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 17 of /etc/apache2/modules.d/70_mod_php5.conf:
Invalid command 'AddDirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration

Expected Results:  
 * Caching service dependencies ...    [ ok ]
 * Starting apache2 ...                [ ok ]

Downgrading apache to 2.2.8 fixes this issue.

in /etc/portage/package.mask

>=www-servers/apache-2.2.8-r1
Comment 1 Paul Wollaston 2008-02-09 12:34:36 UTC
I've also tested this on 2 independent systems, both with the same result.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-09 12:45:27 UTC

*** This bug has been marked as a duplicate of bug 209033 ***