View Full Version : [ubuntu] 8.10 apache2 '<Directory> is not working anymore

May 21st, 2008, 07:00 PM
I used to enable php5 only for pages in my /var/www directory by changing the /etc/apache2/mods-available/php5.conf to:

<Directory /var/www>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps

This did work on 7.10, but after a fresh install of 8.04 php5 also works on php files outside the documentroot.

Is this a bug or am I doing something wrong?