hi all, previously i was able to disable PHP in folders, because of your support. the method i followed is put below code in my httpd.conf file <Directory /var/www/html> php_flag engine on </Directory> <Directory /var/www/html/test> php_flag engine off </Directory> so people can put PHP in "html" folder which is the root folder and they can't put PHP in "test" folder which is under root but the problem is user can create a new folder under root location and can upload PHP to that. since PHP is enabled in root location there is no way to disable it for the folders under it unless i figure out those folders and disable manually. is there a better way to do this ? or is there a way to represent all the folders under root directory using a while-card or something. pls help me
let me simplify this further is there a way to disable PHP for folders under a certain directory and enable it for only files.