Has anyone else tried compiling binaries and running them under the Surgemail webserver scripts folder? I've had great success at compiling Perl with PerlApp. However, I can't figure out how to get the surgemail webserver to return anything other than a status 200 in my coding. I can add response headers just fine to the output except for Status:. So outputing 'Status: 404 Not Found' like one would do in Perl, doesn't work. Is there a trick to it? When I do try outputting the status header, surgemail serves my binary exe file as a downloadable file to the client!!! That's definitely a bug. I sometimes see the old webmail.exe acting the same way randomly during rare occassions and being presented as a download instead of serving put webpages, and now I can replicate in a way. My guess is somewhere in the webmail coding they tried changing the status code to 500 perhaps when some {excessively long token truncated}Anyone over there at NetWin maybe have a fix for me so I could use "Status:" to change the http status code like in normal scripts? And at no times do I want my exe presented as a download, nor webmail.exe for that matter. Any help is appreciated.
Last Message | Next Message