Plesk

How to make it possible to run Perl cgi scripts out of cgi-bin in Plesk?

Question

How to make it possible to run Perl cgi scripts out of cgi-bin in Plesk? For example, from /httpdocs?

Answer

  1. Log into Plesk.
  2. Go to Domains > example.com > Hosting Settings and make sure that CGI support is enabled.
  3. Go to Domains > example.com > PHP settings and make sure that PHP run as FastCGI application.
  4. Go to Domains > example.com > Apache & nginx settings > Additional Apache directives page and add SetHandler cgi-script line into Additional directives for HTTP and Additional directives for HTTPS boxes.
Exit mobile version