| How To Run CGI Scripts Anywhere In Your Root Directory |
|
|
|
| How To - Apache HTTP Server | |||
| Written by Christian Foronda | |||
| Friday, 01 October 2010 15:09 | |||
|
Install Apache perl module:
# yum install mod_perl Edit /etc/httpd/conf/httpd.conf and append the .pl extension:
AddHandler cgi-script .cgi .pl Search for the line that says "<Directory /> in the file. Add "+ExecCGI" to the "Options" list. The directive should look like this:
<Directory /> Restart Apache:
# service httpd restart Similar articles
|
|||
| Last Updated on Thursday, 13 January 2011 21:05 |


