Getting CGI scripts to run outside cgi-bin


To enable CGI scripts for all your web directories:

In the DocumentRoot for the site (/var/www/html) add a .htaccess file or edit the existing one and add the following:

AddHandler cgi-script .cgi .pl
Options +ExecCGI

CPanel Control Panel Intel inside all servers Javascript MySQL hosting accounts Redhat Servers Pay via PayPal