Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
As far as I know, this must be handled in PHP.
If you disable the handler on PHP script in apache, it will be served as html, with the php code in text into the document.
You must save in some place which directory you want to disable, and have every php pages on your site to check this list to see if they are allowed to be parsed.
If not, simply do an exit(); otherwise do the parsing as previously.
__________________
Only a biker knows why a dog sticks his head out the window.
|