Did you read the troubleshooting section at
http://www.acmesystems.it/?id=209 ?

 

502 Bad Gateway 
The CGI was not CGI/1.1 compliant. 

If you obtain this message probably you have used a "DOS like" editor like
Notepad to edit the helloworld.sh script file. This add a CR/LF sequence at
the end of each lines instead of a single LF. If you are using UltraEdit or
any other good editor probably you can choose to save the file in Unix
format elsewhere use these commands to strip the CR chars: 

# cat helloworld.sh | tr -d '\r' > helloworld1.sh

# cp helloworld1.sh helloworld.sh

 

 

-----Ursprüngliche Nachricht-----
Von:
[EMAIL PROTECTED]
.com
[mailto:[EMAIL PROTECTED]
ps.yahoo.com] Im Auftrag von danbaumann84
Gesendet: Dienstag, 8. April 2008 00:14
An: [email protected]
Betreff: [foxboard] HTML and CGI not operate in my foxboard

 

I needed a image of linux for FOX MCM 4+16 that operate a camera pro
labtec,
Then I found this site http://mxhaard. <http://mxhaard.free.fr/etrax.html>
free.fr/etrax.html , and really
a camera is running now,
but now the HTML and CGI, now appears the following message:
502 Bad Gateway
The CGI was not CGI/1.1 compliant.

The files with the extension .sh work properly, but the compiled web
compiler appears in the message above.

What to do?

 

Reply via email to