[Bug 276145] [NEW] Apace2 default configuration incorrect for allowoverride
Nick Twigg
nick at nick-web.co.uk
Tue Sep 30 01:19:59 BST 2008
Public bug reported:
Binary package hint: apache2
The configuration file under /etc/apache2/sites-enabled/default (or
000-default) is set up so that the allow override all setting wont work
when directories or files under /var/www are called as a site.
The values at install are :
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
</Directory>
Whereas, for mod_rewrite to work correctly, they should be
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
For the record, I have chaged the first and second AllowOverride to All.
The caps A seems to be *VERY* important.
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: New
--
Apace2 default configuration incorrect for allowoverride
https://bugs.launchpad.net/bugs/276145
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list