Open GoogleCodeExporter opened 8 years ago
Hello,
I have the same problem! :(
I run Mongoose in CentOs. I see the same error: Error 500: Internal Server Error
I know what may be the problem, but I don't know what to do about it:
in mongoose.c, it wants to fork() to run the cgi. but fork() has problem in
multithhreaded program.
Has anyone solved the problem?
Thanks in advance.
Original comment by samaneh...@gmail.com
on 16 Dec 2012 at 10:47
running c++ executable renamed to cgi works fine here.
mongoose v3.8 on windows xp sp3
Original comment by Joost.de...@gmail.com
on 6 Sep 2013 at 10:33
Hi,
I have the same problem using a CGI script coded in C
I get the following error message :
500 Server Error: ./www/index.cgi: No such file or directory
I run mongoose in a thread with the following options :
mg_set_option(server, "listening_port", "8080");
mg_set_option(server, "document_root", "./www/");
mg_set_option(server, "cgi_pattern", "**.cgi$");
Original comment by bimw...@gmail.com
on 21 Jun 2015 at 12:55
Original issue reported on code.google.com by
yangguos...@gmail.com
on 9 Dec 2012 at 8:52Attachments: