Stephen,
Look closely at the errors: "/var/www/html/cgi-bin/mycgi.cgi"
It is looking in the html folder because you don't have the domain or ip before the cgi-bin. yourdomain.com/cgi-bin/mycgi.cgi
I am unsure how to access the cgi-bin from the folder html without domain unless you have the cgi-bin in the html folder like:
 
/var/www/html/cgi-bin/myfile.cgi would work with action="" and even "/cgi-bin...
 
To access upwards .../cgi-bin/ should work.
Thanks,
Kevin
----- Original Message -----
Sent: Friday, July 29, 2005 7:35 PM
Subject: RE: [EMAIL PROTECTED] cgi scripts not running

If I have <FORM METHOD=POST ACTION=""     the error is    The file /var/www/html/cgi-bin/mycgi.cgi cannot be found

 

If I have <FORM METHOD=POST ACTION=""     the error is    The file /var/www/html/mycgi.cgi cannot be found

 

If I have <FORM METHOD=POST ACTION=""  the error is  The file /cgi-bin/mycgi.cgi cannot be found

 

So how do I get it to look in /var/www/cgi-bin   

 

I’ve put  ScriptAlias /cgi-bin/  “/var/www/cgi-bin/”  in the config file, dosen’t this do it?

 

 

Thanks

 

Stephen

 

Reply via email to