> -----Original Message-----
> From: Thom Hehl [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 11, 2006 1:03 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] cgi-bin woes
> 
> OK, I haven't run httpd in a while. I have a new installation and am 
> having a glitch I need some help with.
> 
> I've gone through the cgi bin document for Apache 2.2.3 and 
> have created 
> the first.pl script as suggested in the docs, but do not get 
> any of the 
> four results listed. Instead, when I run 
> 192.168.1.49/cgi-bin/first.pl I 
> get a 404 error.

404 is "not found" - unusual for a CGI... Some thoughts:

1) Double check spellings of paths in config and browser. Pay attention
to case, punctutation (- and _) and double-characters.
2) No logs is very funny.. check paths in config and verify that apache
can write in those dirs (ie the user defined by "User"). Do you really
not get an error log anywhere?
3) Is first.pl executable? Does it run from the command-line?
4) Check you have an "Allow" directive for /var/www/cgi-bin/.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> In my httpd.conf I have
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> 
> In /var/www/cgi-bin, I have:
> first.pl
> rand_text.pl
> 
> Both of which have read/execute access for everyone.
> 
> I checked the logs and there is literally nothing in them. I stopped 
> httpd, blew away everything in the logs directory, restarted 
> httpd and 
> re-created the 404 and there is not a single file in the logs 
> directory. 
> Nada!
> 
> In frustration, I checked the system logs which show only the 
> httpd restart.
> 
> I am now clueless as to how to proceed. Can anyone point me 
> in a direction?
> 
> Thanks.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to