Hi,
I would like to be able to disable PHP for perticular directories within a VirtualHost in apache but to make things a little more complicated, I would like it disabled for the root directory but enabled for a sub directory.
I have read that I can disable PHP on a virtual host by adding this into the VirtualHost section in the apache config:
php_flag engine off
And so have tried this variation to get the desired result:
<VirtualHost>
...
php_flag engine off
<Directory "/path/to/dir/">
php_flag engine on
</Directory>
...
</VirtualHost>
However this didn't work, any ideas how else I may be able to do this short of just simply running the php app on a different virtual host?

