///////////////////////////////////////////////////// 1.I using arm-linux-gcc-4.4.3-20100728.tar and extract to /opt in VMware ubuntu10.10 and I got hello.cgi from arm-linux-gcc so I used command gcc arm-linux-gcc hello.c -o hello.cgi. hello.c code #include <stdio.h> int main(void) { int i=0; for(i=0; i< 10;i++) { printf("Hello %d\n",i); } return 0; } //////////////////////////////////////////////////// 2.Upload files to the board: hello.cgi -- /www/cgi-bin //////////////////////////////////////////////////// 3.change permissions to execute cgi files with: [root@FriendlyARM cgi-bin]# chmod 777 hello.cgi //////////////////////////////////////////////////// 4.Typing from web browser 192.168.1.230/cgi-bin/hello.cgi ///////////////////////////////////////////////////// So it 's still be 502 Bad Gateway The CGI was not CGI/1.1 compliant. Could you help me plz what wrong with the intruction?
502 Bad Gateway
Fix : instruction =them 1. 2. 3. 4. plz help me I am still with this problem for 7 days. TT thank you.
Hi, I have no idea, but a problem with the same error has been written before: http://www.friendlyarm.net/forum/topic/1280
I have already done from that forum but it's not work. So I have a pic for you could you help me to solve this problem thank you. http://upic.me/i/i8/console.jpg http://upic.me/show/28916806