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
PHP disable
Moderator: General Moderators
-
asela_05085
- Forum Newbie
- Posts: 16
- Joined: Mon Aug 31, 2009 10:33 pm
Re: PHP disable
let me simplify it further
is there a way to disable PHP for folders under a directory and enable for files under that directory
is there a way to disable PHP for folders under a directory and enable for files under that directory
-
asela_05085
- Forum Newbie
- Posts: 16
- Joined: Mon Aug 31, 2009 10:33 pm
Re: PHP disable
thanks McInfo
it really did help me
thanks again
it really did help me
thanks again