eymerich
09-04-2006, 11:34 AM
How can I disable PHP for a certain folder and his subfolders?
I think this can be done through a htaccess File directive like this:
<Files ~ ".*\.php$">
Order deny,allow
Deny from all
</Files>
but if a user upload another htaccess who override my stettings?
Is there a way to disallow certain path to execute PHP scripts?
CHMOD don't work or I am unable to figure out how setup it because if I deny execution on the folder my users will not be able to load anything.
THX
I think this can be done through a htaccess File directive like this:
<Files ~ ".*\.php$">
Order deny,allow
Deny from all
</Files>
but if a user upload another htaccess who override my stettings?
Is there a way to disallow certain path to execute PHP scripts?
CHMOD don't work or I am unable to figure out how setup it because if I deny execution on the folder my users will not be able to load anything.
THX