Q. Can I execute CGI scripts outside of cgi-bin?

Ans: If you wish to execute cgi scripts outside cgi-bin then you add following code to your .htaccess :-

Options +ExecCGI

AddHandler cgi-script cgi pl