Archive for March, 2015



Enabling PHP in a single directory

Tuesday, March 10th, 2015

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, whose documentRoot is in /var/www/vhosts/ I want PHP disabled for the entire website apart from the directory /myApp.