I am writing this because I couldn’t find any information on how to enable PHP for a single directory.
Let’s say we have a website example.com, whose documentRoot is in /var/www/vhosts/example.com. I want PHP disabled for the entire website apart from the directory /myApp.
(more…)