This is a discussion on Block parsing of php in subfolder within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hello I am hoping that this is the right place to ask this question, if not i am sorry. The ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello
I am hoping that this is the right place to ask this question, if not i am sorry. The title said it all, i want to block parsing in a subfolder ( and its subs). I dont want to place a httacces fil in the folder. The solution i have so far is a htaccess file in a padding folder above the folder i want to block with this content: <FilesMatch ".php$"> ForceType text/html </FilesMatch> This would have to be done with all extentions that are parsed. This would work but php could be reactivated by putting an appropriate htaccess file in the subfolder. And does not seem pretty. Can this be done in a better way. Can complete phpblocking be done at all? Jacob Oettinger |
| Thread Tools | |
| Display Modes | |
|
|