moron at perl/cgi [solved]

Craig White craigwhite at azapple.com
Thu Jan 12 00:21:26 MST 2006


So no one wastes any time on this...Ric Whitney solved it for me...typo

duh

Craig

On Wed, 2006-01-11 at 23:03 -0700, Craig White wrote:
> Should be simple but I'm not getting it.
> 
> Downloaded a simple perl-cgi script called ForMail.pl
> 
> getting fast and loose with permissions...
> 
> # ls -l /var/www/cgi-bin/FormMail.cgi
> -rwxr-xr-x  1 apache root 29239 Jan 11
> 22:54 /var/www/cgi-bin/FormMail.cgi
> 
> (user apache has execute privileges)
> 
> but all attempts to call it get 404 error...
> 
> /var/log/httpd/access_log
> 192.168.2.20 - - [11/Jan/2006:22:59:58 -0700] "POST /cgi-bin/ForMail.cgi
> HTTP/1.1" 404 299 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.7.
> 12) Gecko/20050915 Firefox/1.0.7"
> 
> /var/log/httpd/error_log
> [Wed Jan 11 22:59:58 2006] [error] [client 192.168.2.20] script not
> found or unable to stat: /var/www/cgi-bin/ForMail.cgi
> 
> Nothing in /var/log/messages or dmesg to indicate a permissions or
> selinux issue (CentOS 4)
> 
> I know I must be missing something obvious - moron at perl here.
> 
> Suggestions?
> 
> Craig
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list