SBDavid
May 16th, 2010
May 16th, 2010
How do I enable cgi-scripts to run from both httpdocs and httpsdocs directories in Plesk
How do I enable cgi-scripts to run from both httpdocs and httpsdocs directories in Plesk?
By default Plesk runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from any folder, you should uncomment the cgi-script AddHandler directive in the main apache configuration file /etc/httpd/conf/httpd.conf
AddHandler cgi-script .cgi
Then restart Apache with the following command:
/etc/rc.d/init.d/httpd restart
Such customizations can also be done on a per domain basis in vhost.conf.