Post applies to : Plesk for Unix

Que :
How do we enable cgi-scripts to run from the both httpdocs and httpsdocs directories?

Solution :
CGI scripts can be run in httpdocs/httpsdocs with mod_perl. You should enable mod_perl for a domain in Plesk CP and uncomment the cgi-script AddHandler directive in the Apache configuration file /$HTTPD_CONF_D/httpd.conf.

< >
AddHandler cgi-script .cgi

Restart Apache.

Best Regards,
Chetan Sonar