[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] cgi-wrapper & file opens
- Subject: [cobalt-developers] cgi-wrapper & file opens
- From: "sara starre" <perl_rocks@xxxxxxxxxxx>
- Date: Wed May 10 16:29:40 2000
hi everyone..
I'm trying to run a Perl cgi script on the Raq3 that keeps failing. First it
left this message in the apcahe error log:
[Wed May 10 17:22:10 2000] [warn] [client 24.27.206.68] handler
"cgi-wrapper" not found for: /home/sites/site18/web/cgibin/wipadm/pat.cgi
[Wed May 10 17:22:11 2000] [error] [client 24.27.206.68] malformed
header from script. Bad header=Global symbol "@patlx" require:
/usr/cgiwrap/cgiwrap
This error didnt make much sense to me as I had the Content-Type line and
all in there. I had no header problems from another script that I was runing
in nthe same dir. Also the script ran fine in the O/S from the prompt.
It seemed to fail for no reason.
My sysadmin told me to add those lines that Cobalt has in their FAQ to the
.htaccess file:
Options +ExecCGI
AddHandler cgi-script .cgi
(there is another line with .pl but I dont use that extention).
I then re-ran the script, and sure-enough it does run now, but not when the
script tries to open a dbm file from the script I get:
(cant tie urec to /home/sites/site18/web/db/usr
Permission denied)
even though I've been accessing the same exact file from another script in
another directory. So I know the script has proper protections.
Is there some modification I need to make to the script? Was it proper to
disable he cgi-wrapper? I've been running all sorts of scripts on this same
server, accessing all sorts of db files from perl with no problems until I
hit this one.
Thanks!
HUG,
Perlgirl
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com