On a ubuntu-10.04 and Apache2 I am trying to disable PHP execution on /var/www/upload directory. So I've added the following to /etc/apache2/sites-enabled/000-default:
< Directory /var/www/upload/> AddType text/plain .php < /Directory>
Then of course I've restarted the Apache2 service.
However, according to my tests, PHP is still being executed on the upload directory.
Anyone knows what I'm missing here?