Stupid script question
I've been trying to run scripts on my linux/apache server. They end up a disasterous mess.
[error] [client 70.59.56.252] (8)Exec format error: exec of '/www/cgi-bin/chat.cgi' failed [Sun Dec 11 23:21:22 2005] [error] [client 70.59.56.252] Premature end of script headers: chat.cgi internetbutterflies.com/cgi-bin/chat.cgi It doesn't seem to matter what script I use, or where I put it. Either I get the internal error page, or a page full of half script language in my browser. I point the file to the perl file on the server and it basically tells me to take a flying leap. Completely stupid i'm sure, but i'll be darned if I can figure this out. Any suggestions? |
The script would help.
I think this message means your script is not formatting the page right. (I ain't CGI'd for a while) Is it perl? If so you can run the script at the command line and even pass paremetrs (like you see in urls) e.g: Code:
./script var=fish > test.html Code:
!/usr/bin/perl -w |
All times are GMT -5. The time now is 10:14 PM. |