evulish
07-27-2001, 04:14 PM
Ok, Before I had installed linux on this box, I had the perl and apache win32 port running. I created all my perl scripts using notepad. Just recently I have switched all my perl files to run under my webserver in linux (Just changed the shebang around) but they don't work!
There error in my apache log file is:
[Thu Jul 26 17:55:53 2001] [error] (2)No such file or directory: exec of /web/cgi-bin/results.cgi failed
[Thu Jul 26 17:55:53 2001] [error] [client 127.0.0.1] Premature end of script headers: /web/cgi-bin/results.cgi
[Thu Jul 26 17:55:53 2001] [error] [client 127.0.0.1] unable to include "/cgi-bin/results.cgi" in parsed file /web/pollresults.shtml
Or something like that.
They all worked fine in windows. Even print "Content-type: text/html\n\nHello"; didn't work.
Any ideas?
(I know this should be in the web thing but I had posted it in there a while ago and it got nowhere...)
There error in my apache log file is:
[Thu Jul 26 17:55:53 2001] [error] (2)No such file or directory: exec of /web/cgi-bin/results.cgi failed
[Thu Jul 26 17:55:53 2001] [error] [client 127.0.0.1] Premature end of script headers: /web/cgi-bin/results.cgi
[Thu Jul 26 17:55:53 2001] [error] [client 127.0.0.1] unable to include "/cgi-bin/results.cgi" in parsed file /web/pollresults.shtml
Or something like that.
They all worked fine in windows. Even print "Content-type: text/html\n\nHello"; didn't work.
Any ideas?
(I know this should be in the web thing but I had posted it in there a while ago and it got nowhere...)