• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue CGI Programs don't work

davorg

Basic Pleskian
Last year I raised an issue on the Plesk 12 board because CGI programs weren't working on some of my domains - Incorrect cgi-bin configuration. I got a few replies, but nothing fixed the problem and eventually other things became more important to me.

Since then I've upgraded my system to Plesk 17.0.17 and I still have the problem. I returned to investigating this today. And I've found this article - CGI feature is disabled by design if an application is installed in www-root.

This, of course, explains all of my problems. My sites are run using Wordpress - and that is installed in the web root. But many sites have other sections which require CGI programs running in the cgi-bin.

I know that running Wordpress alongside CGI programs works correctly. I have done it for many years. So I need to know how I can work around this seemingly pointless restriction.

Oh, and I've just seen that KB article claims to apply to Plesk 10.x and 11.x. Is that correct? Or does it still apply to all newer versions of Plesk?

Thanks,

Dave...
 
I've found a workaround that seems to work for this.

In the conf/siteapp.d directory, I have created a file called "cgi.conf" which just contains the missing cgi-bin configuration line.

ScriptAlias "/cgi-bin/" "/var/www/vhosts/[my domain name]/cgi-bin/"

Seems to be working so far. Can anyone suggest why I shouldn't do this for all of my affected domains?

And I'd still like to know why this restriction is in place.
 
Back
Top