View Single Post
  #1  
Old December 31st, 2000, 06:53 PM
softbreeze softbreeze is offline
Registered User
 
Join Date: Dec 2000
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
softbreeze is on a distinguished road
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/[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.
Reply With Quote