I am trying to enable CGI scripts to be run from outside the default
(aliased) cgi-bin directory.  (That is, I want to run a script from a file
located within a FrontPage web.)

I  added "AddHandler cgi-script .cgi" to httpd.conf.  This is supposed to
treat any file ending in .cgi as a cgi script.
I have also set the permissions of the script file to 755:
#chmod 755 test-cgi.cgi

But when I try to run the script from a browser Apache returns "Forbidden
You don't have permission to access /test-cgi.cgi on this server."

If I remove the .cgi extension from the script file, the web browser
displays the text of the script, so I know that I do have access to it, I
just don't have access to it when it is a .cgi file.  This is the standard
"test-cgi" script that is installed in .../apache/cgi-bin/ and it executes
fine when running from that directory.  I just can't get it to run when I
move it to a FrontPage web.

What am I missing here?  Are the FrontPage extensions preventing the running
of cgi scripts?  Is there some other configuration setting that I have to
do?

Thanks!

- jmd


_______________________________________________
Apache-FP mailing list
[EMAIL PROTECTED]
http://lists.joshie.com/mailman/listinfo/apache-fp

Donations:
http://www.amazon.com/paypage/PT5LZITM9L227 

Reply via email to