Articles in this section

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

Plesk for Linux

Applicable to:

  • Plesk for Linux

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 AddHandler cgi-script .cgi line into Additional directives for HTTP and Additional directives for HTTPS boxes.
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.