gforums
unread,Sep 2, 2010, 7:51:15 PM9/2/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongoose-users
Hi there,
I am new to mongoose and have no experience with it yet.
I've set up the webserver on a linux running embedded device and it's
working so far.
(port 80, standard settings). The cgi-files are located in the root-
directory from mongoose.
Now I am trying to get CGI(with html output) to work, but everytime I
try to open my cgi files (using firefox), I get the following message:
>> Error 500: Internal Server Error
>> CGI program sent malformed HTTP headers: []
AS CGI-Interpreter, I am using /bin/ash and the first lines of my cgi
files are looking like this:
#! /bin/ash
echo -e "Content-Type: text/html\n\r\r"
echo -e "Hello World"
....
....
Did I miss something? Could anyone provide me with a very short CGI
content, that should work with mongoose?
Thanks for all your hints!
Best,
gforums