Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29606 - New apache2.conf setting depending on mod_alias is not IfModule'd
Summary: New apache2.conf setting depending on mod_alias is not IfModule'd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-25 12:15 UTC by Steffen Weber
Modified: 2003-09-26 21:51 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 Steffen Weber 2003-09-25 12:15:14 UTC
The changes in apache2.conf in the recent apache-2.0.47-r1 ebuild introduced
this line of code:

AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$
"/var/www/localhost/htdocs/manual/$1"

Due to the fact that all other module-depent settings are IfModule'd I think
this should be the case here, too:

<IfModule mod_access.c>
    AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$
"/var/www/localhost/htdocs/manual/$1"
</IfModule>

Reproducible: Always
Steps to Reproduce:
1. Emerge apache-2.0.47-r1 and deactivate mod_access
2. Restart the apache server

Actual Results:  
cb3 root # /etc/init.d/apache2 restart
 * Starting apache2...
Syntax error on line 930 of /etc/apache2/conf/commonapache2.conf:
Invalid command 'AliasMatch', perhaps mis-spelled or defined by a module not
included in the server configuration                                         [ !! ]
Comment 1 Steffen Weber 2003-09-25 12:17:24 UTC
I'm sorry, i meant mod_alias and not mod_access in the description.
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-09-25 15:04:38 UTC
Ok will do that.
Comment 3 Donny Davies (RETIRED) gentoo-dev 2003-09-26 21:51:14 UTC
fixed on CVS, thanks