• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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