Running CGI script from any directory
In order to force apache to allow cgi script to run, simply create a file called .htaccess inside the directory in which you wish to run the scripts. Insert the following text into the .htaccess file:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
AddHandler cgi-script .cgi .pl
Leave a Reply
You must be logged in to post a comment.