• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

CGI outside the /cgi-bin/ directory

J

jeroenalex

Guest
Hi all,

I would like my users to be able to run CGI scripts in directories outside the /cgi-bin/ directory, for example the root directory (httpdocs).

I've searched the forums and the FAQa, but couldn't find how to do this in Plesk 7.5 in combination with Apache 2.0. Could someone help me out with this?

Thanks,

Jeroen
 
actually the options directive in apache needs to allow the running of cgi scripts outside of aliased directories.

here are the apache docs on it.

The Options directive controls which server features are available in a particular directory.

option can be set to None, in which case none of the extra features are enabled, or one or more of the following:

All
All options except for MultiViews. This is the default setting.
ExecCGI
Execution of CGI scripts using mod_cgi is permitted.
 
Back
Top