softbreeze
Registered
I am attempting to run a cgi from the CGI-EXECUTABLES directory. Apache is using the default configuration file; no changes.
The first time a cgi document is accessed, Apache returns, \"Access Forbidden\". However, if the cgi is accessed directly (which errors) first, Apache functions properly. Thereafter, each access to the document returns the error. So, here is what happens:
localhost/cgi-bin/my.cgi/
The first time a cgi document is accessed, Apache returns, \"Access Forbidden\". However, if the cgi is accessed directly (which errors) first, Apache functions properly. Thereafter, each access to the document returns the error. So, here is what happens:
localhost/cgi-bin/my.cgi/
HTML:
Access Forbidden
localhost/cgi-bin/my.cgi CGI Error
localhost/cgi-bin/my.cgi/[html] Works Correctly
then, when the process is repeated...
localhost/cgi-bin/my.cgi/[html] Access Forbidden
localhost/cgi-bin/my.cgi CGI Error
localhost/cgi-bin/my.cgi/[html] Works Correctly
The Apache error log states that a directory is being accessed and therefore access is denied. A directory??
Any idea what\'s going on and how to fix this?
Thanks.