Disabling the default virtual host disables options on the root directory ('/').
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2-common
Problem:
Disabling the default virtual host enables 'AllowOverride All' for the root ('/') directory and disables 'FollowSymlinks'.
This effects (at least) Hardy and Intrepid's versions of Apache2.
Overview:
The default Apache virtual host (/etc/apache2/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Applying options to the root directory should probably not be delegated to this virtual host, even if the assumption is that the virtual host will not be disabled.
Moving this section to /etc/apache2/
Solution:
Move the 'Directory' directive for the root directory from the default virtual host file to the apache2.conf file (probably above the 'AccessFileName' directives).
description: | updated |
Changed in apache2 (Ubuntu): | |
status: | Confirmed → Fix Released |
I agree. <Directory /> ... </Directory> really should be set globally.
That said I'm not sure if this is a critical issue. Perhaps a more natural place to have this fix would be in the Debian package which Ubuntu inheritate?