I am running the Apache 2 webserver on my Windows XP laptop. I am able
to run PHP and MySql, but when trying to run a basic CGI script, I get
the following error:
You don't have permission to access /hello.cgi on this server.
I've read the documentation for Apache, and have changed the httpd
file (and restarted the server) with the following lines:
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"
and
<Directory "C:/Program Files/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options FollowSymLinks +ExecCGI
Order allow,deny
Allow from all
</Directory>
the hello.cgi file is located in the above directory.
This is obviously not a file security issue (Windows XP, remember?),
so I'm trying to figure out what else I need to set up to allow Apache
to run this and obviously other .cgi files. |