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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to