[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RAQ4i]: CGI Error
- Subject: [cobalt-users] [RAQ4i]: CGI Error
- From: "Stefan Schmitt" <S.Schmitt@xxxxxxxxxxxx>
- Date: Tue Dec 5 14:17:42 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
Actually I am a Newbie but I am getting into it. I have just set up a new
RAQ4i. For one website I have "disabled" the cgi wrap with an .htaccess file
in the cgi-bin dir.
Options +ExecCGI
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
All files are owned by the siteadmin, group is site##. Because I have
problems to run any cgi scripts I set permissions to 777 (just for
testing!). Also I have transferred the scripts in ASCII mode.
But I still got the error message "[an error occurred while processing this
directive]". When I remove the .htaccess I get the following message:
"CGIWrap encountered an error while attempting to execute this script:
Error Message: No such file or directory
Error Number: 2
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/."
If I try to call a script directly I get an "Internal Server Error"
displayed in my browser. But I don't know why!!
I have just installed the Cobalt Restore CD, the MySQL Package and all
necessary OS updates. Enabled CGI and SSI...
All the scripts are running fine on a different server. Any ideas how to fix
this problem?
Stef