• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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