moron at perl/cgi

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list
New-Topics: Re: formail (was moron at perl/cgi), Re: moron at perl/cgi [solved]
Subject: moron at perl/cgi
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 -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss