[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] CGI trouble RaQ4



No matter what site or user CGI scripting seems to not work.
I did check the box for enabeling CGI scripting.
Here is the test script and the result.
Thank you in advance.
Ed
------------------------------------------------------------
Here is the test script:

#!/usr/bin/perl

print <<END_of_Multiline_Text;
Content-type: text/html

<HTML>
	<HEAD>
	<TITLE>Hello World</TITLE>
	<BODY>
	<H1>Greetings, Terrans!</H1>
	</BODY>
</HTML>

END_of_Multiline_Text
------------------------------------------------------------------------
Here is the error message:

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/.