I am using suphp and everything is working OK. However, i cannot seem to deny access to scripts being executed in a certain directory.
I have tried an .htaccess with the contents:
I have also tried puting this code directly in the virtualhost config under a <Directory> context.
Any advice for disabling scripts from running in a certain folder (like an uploads folder)?
I have tried an .htaccess with the contents:
Code:
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI
I have also tried puting this code directly in the virtualhost config under a <Directory> context.
Any advice for disabling scripts from running in a certain folder (like an uploads folder)?