[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] CGI wrapping query (sorta longwinded sorry)
- Subject: [cobalt-users] CGI wrapping query (sorta longwinded sorry)
- From: "dylan" <dylan@xxxxxxxxxxxxxx>
- Date: Sun Jul 2 23:53:55 2000
Ok, Im aware of the issues involved with cgi wrapping now and their focus
for security. I have had to change ownership for many scripts on the server
since I restored and installed the cgi-wrapper update for the RAQ2. Now just
about all of them are working fine.
However, there is one script that used to work and still does on some of my
other boxes that constantly gives this error -
-----------insert obscene error here -----------
CGIWrap Error: Script Execution Failed
CGIWrap encountered an error while attempting to execute this script:
Error Message: Permission denied
Error Number: 13
This message usually indicates there is a problem with the script itself.
Often this indicates either that the #! line of the script is incorrect, or
the script was uploaded in binary mode instead of ascii mode. Check to make
sure that the script does not have control-M's at the end of every line.
That will prevent it from executing. An easy fix that takes care of this
most of the time is to put '#!/.../perl --' instead of '#!/.../perl' on the
first line of the script.
If you are not the owner of this script, please forward this error and the
URL that caused it to the script owner. That is often the component in the
URL right after /cgiwrap/.
-------------------------------------
This is different to the ownership errors I was getting before. The
#!/usr/bin/perl section is fine as that is where perl is and I've tried with
the suggested -- switch too.
so i guess the script is hitting into trouble somewhere (with permissions??)
but I know the code is ok because it runs on another box and has run on this
Raq before.
Cheers,
Dylan O'Donnell
dylan@xxxxxxxxxxxxxx
DRAGNET INTERNET SERVICES
-------------------------------------------------------
http://www.dragnet.com.au/
Address: 510 Elizabeth St. Albury, NSW 2640
Toll Free: 1800 069 050
Phone: (02) 60 214 100
Fax: (02) 60 213 144