How do I enable cgi-scripts to run from httpdocs and httpsdocs directories?

Resolution

By default Plesk runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from any folder, you should and uncomment the cgi-script AddHandler directive in the main apache configuration file /etc/httpd/conf/httpd.conf:

AddHandler cgi-script .cgi

Then restart Apache.

Or such customization can be done per domain basis in vhost.conf, see
http://download1.swsoft.com/Plesk/Plesk8.2/Doc/plesk-8.2-unix-administrators-guide/17359.htm for more information.

[ad code=4 align=center]

Leave a comment