We have a node that has not only image files but also PHP. The node is a dedicated static file server (images, CSS, JS, etc) and need to forbid access to the PHP scripts.
We have tried the following:
No matter what was tried requests for PHP scripts always returned a 200 status and download prompt.
Does anyone have any ideas?
Bobby
We have tried the following:
- Removed all script handlers (server and VH levels) for PHP scripts
- Added false FCGI handlers (expected at least a 500 error)
- Added filter rule with status:403 using SecFilter
- Used FILES + deny in htaccess (ala Apache style)
No matter what was tried requests for PHP scripts always returned a 200 status and download prompt.
Does anyone have any ideas?
Bobby