.htaccess add exception to disabled CGI execution
Options -Indexes -Includes -ExecCGI
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi .php4 .php5 .js
Now I'm in the need of executing a PHP script in this folder (overiding the CGI disabling), lets suposse the name of my script is
my_script.php
What is the best way开发者_如何学JAVA to maintain my security in this folder deniying the execution rights to ALL the scripts BUT to my_script.php?
I have full access to the .htaccess file so I can change what I want.
Kind regards and thanks a lot in advance. P:.
精彩评论