I have compiled a Hello word web application (only one label) with automatic port and cgi, compiled with 2015r2.4 for Linux (32 bits).
Installed 32bit libraries in my VPS, uploaded files in ASCII mode and set needed permissions to 755.
I’m getting an Internal server error and log show:
[Wed Dec 09 06:09:49 2015] [error] [client 67.20.60.10] Can’t use an undefined value as a symbol reference at hiworld.cgi line 118.
[Wed Dec 09 06:09:49 2015] [error] [client 67.20.60.10] Premature end of script headers: hiworld.cgi
line 118 of hiworld.cgi is print $sock $body;
Thanks for any help,
You should only be uploading the cgi and cfg file in ASCII mode. Everything else must be Binary.
[quote=234697:@Alejandro Fresno Meyer]I’m getting an Internal server error and log show:
[Wed Dec 09 06:09:49 2015] [error] [client 67.20.60.10] Can’t use an undefined value as a symbol reference at hiworld.cgi line 118.
[Wed Dec 09 06:09:49 2015] [error] [client 67.20.60.10] Premature end of script headers: hiworld.cgi
line 118 of hiworld.cgi is print $sock $body;[/quote]
this would seem to indicate that the web server is not set up to launch the cgi file as a cgi script, but I’d try the suggestion above first.
It seems my first Web app is working, I’m getting my Hello World 
Will have to write down all this suggestions immediatelly, thanks.