[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] CGI Madness
Folks:
I was reading the recent ("CGIIII...") posts and feeling
quite smug, when suddenly I received a message from one of my clients
informing me that his Contact page wasn't working. I use the same
"mailto.cgi" program for all such minor forms processing, so I know
the upload and permissions process well. Any cogent suggestions or
assistance would be appreciated.
The weird thing about this is that I have the EXACT same CGI
script running on another site without any problems. I even copied
the working script AND directory over to this (site15) client's site,
in case some weird defect was present in either the directory or the
files contained.
TIA
Details --
Server: Cobalt Raq3, updated to OS 3.0
cgi-bin directory: Permissions Set to 711, subdirector
to users "web" directory
File "mailto.cgi", permissions set to 755, per "README" file.
cgi-bin directory and its files were uploaded via FTP with
the user/clients username and password, not as "admin".
Here's what's happening:
Fill out the Contact page form and hit "SEND". The resulting
screen says:
"The server encountered an internal error or misconfiguration and
was unable to complete
your request."
However, the form information IS passed on, via Email, just
as if the program had run without incident! I read Stroebel's "CGI
RAQ" page (http://users.iol.it/hpstr/), but didn't see anything that
could explain WHY this is happening.
Here's the Telnet output for the directory:
/home/sites/site15/web/cgi-bin
[sbarnett@tesla cgi-bin]$ ls -l
total 57
-rw-rw-r-- 1 sbarnett site15 10284 Aug 5 16:08 README
-rw-rw-r-- 1 sbarnett site15 4960 Aug 5 16:08 Var_Sub.pm
-rw-rw-r-- 1 sbarnett site15 3361 Aug 5 16:21 checks.pl
-rwxrwxr-x 1 sbarnett site15 16920 Aug 5 16:21 mailto.cgi
-rw-rw-r-- 1 sbarnett site15 16803 Aug 5 16:08 mailto.cgi(old)
-rw-rw-r-- 1 sbarnett site15 39 Aug 5 16:08 manifest
And here's the output of the daemon, per Stroebel's page:
*********
http://www.barnettgroupinc.com/cgiwrapDir/cgiwrapd/mailto.cgi
*********
Initializing Logging
Redirecting STDERR to STDOUT
Cobalt RaQ virtual site CGI wrapper
Setting SIGXCPU to default behaviour
Environment Variables:
QUERY_STRING: ''
SCRIPT_NAME: '/cgiwrapDir/cgiwrapd'
PATH_INFO: '/mailto.cgi'
PATH_TRANSLATED: '/home/sites/site15/web/mailto.cgi'
REMOTE_USER: '<NULL>'
REMOTE_HOST: '<NULL>'
REMOTE_ADDR: '206.103.56.136'
Trying to extract user from PATH_INFO.
Retrieved User Name: ''
*****************
* CGIWrap Error *
*****************
Execution of (/home/sites/site15/web/mailto.cgi) is not permitted
for the following reason:
Script file not found.
****************************************
* Local Information and Documentation: *
****************************************
Contact Name: Administrator
Contact EMail: admin
****************
* Server Data: *
****************
Server Administrator/Contact: admin
Server Name: www.barnettgroupinc.com
Server Port: 80
Server Protocol: HTTP/1.0
*****************
* Request Data: *
*****************
User Agent/Browser: Mozilla/4.72 (Macintosh; I; PPC)
Request Method: GET
Remote Address: 206.103.56.136
Remote Port: 1384
Extra Path Info: /mailto.cgi
*************************
Patrick Beart
--
-------------------------------------------------------------------
patrick@xxxxxxxxxxxxxxxxxxx 503-558-8322 Clackamas(Portland), OR
Web Architecture: http://www.WebArchitecture.com
Intelligent Internet consulting, site development, and hosting
solutions since 1994
* Founding MEMBER -- Internet Professionals Northwest. (www.ipn.org)
* MEMBER -- Webmaster's Guild/ Association of Internet Professionals
-------------------------------------------------------------------