Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: LucL on September 28, 2002, 11:38:15 PM
-
I get an error when I attempt to execute cgi.
The problem does not affect all CGI in this ibay, only some.
The CHMOD and CHOWN are the same for both CGI.
The link to /usr/bin/perl is the same in both files.
[Sat Sep 28 14:21:07 2002] [error] (2)No such file or directory: exec of /home/e-smith/files/ibays/prouf_bay/cgi-bin/hello.cgi failed
[Sat Sep 28 14:21:07 2002] [error] [client 216.208.77.11] Premature end of script headers: /home/e-smith/files/ibays/prouf_bay/cgi-bin/hello.cgi
I can only think the problem may be the file is not in ASCII format. I normally view the file to see if there are CR tags, lack of them tells me it is in ASCII format.
Is there another way to verify ASCII format of a file?
Is there a way to convert from CR/LF to LF only?
Anyone out there have an idea as to the cause of the error?
-
Here is a link to a text converter. See if that fixes your problem.
http://www.os2world.com/goran/textconv.htm
I use pico to see the final format on the e-smith machine.