Knowledgebase
Portal Home > Knowledgebase > CGI and PHP > Can I run CGI scripts from any Directory?
Can I run CGI scripts from any Directory?
Not by default.. If you want to run a CGI script from a directory other than cgi-bin, you will need create an .htaccess file in the directory that contains the script. Place the following into the .htaccess file. AddType application/x-httpd-cgi .cgi Options ExecCGI
|
Add to Favourites
Print this Article |
Also Read