httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BAO RuiXian <ruixian....@pp.inet.fi>
Subject Re: [users@httpd] httpd.conf: options directives for cgi
Date Fri, 04 Jun 2004 19:00:41 GMT


Barth (John) Jones wrote:

> I'm trying to enable cgi scripts (perl) to run on my WidowsXPPro 
> Apache2.  I interpret Apache's options descriptions for "execcgi" and 
> "followsyslinks" to mean that I can create a cgi-bin folder but I have 
> to initialize these options directives in order to use the cgi-bin: 
> execgi has to be declared for my cgi-bin directory and followsyslinks 
> has to be declared for my document root directory in order to 
> access execute scripts from a web page.  Is this accurate?
>  

The ExecCGI option is partly yes, but not the FollowSymLinks option. 
But, to enable a CGI directory, you can simply ScriptAlias it. The 
directive ScriptAlias is meant for all the scripts in a directory, while 
ExecCGI is used for files with certain extensions in a directory.

Best

Bao

> Thanks



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message