Re: lighttpd - problems with cgi scripts

2004-09-26 Thread Gerrit P. Haase
Hello Jan, Am Sonntag, 26. September 2004 um 10:13 schriebst du: > On Sat, Sep 25, 2004 at 06:52:29PM -0700, Brian Dessent wrote: >> "Gerrit P. Haase" wrote: >> >> > That works, thanks for pointing this out, however, lighttpd should >> > simply give back an error instead of burning my cpu. >> >

Re: lighttpd - problems with cgi scripts

2004-09-25 Thread Brian Dessent
"Gerrit P. Haase" wrote: > That works, thanks for pointing this out, however, lighttpd should > simply give back an error instead of burning my cpu. I agree. > > > This sounds suspiciously like the "SYSTEMROOT being removed from the > > environment" problem. > > Hmmm, SYSTEMROOT: > $ set | gre

Re: lighttpd - problems with cgi scripts

2004-09-25 Thread Gerrit P. Haase
Hallo Brian, Am Sonntag, 26. September 2004 um 02:19 schriebst du: > "Gerrit P. Haase" wrote: >> #!/usr/bin/perl >> >> use strict; >> use CGI::Carp qw(fatalsToBrowser); >> >> print "Content-type: text/html\n\n"; > ^ > This is not a valid CGI script. All HTT

Re: lighttpd - problems with cgi scripts

2004-09-25 Thread Brian Dessent
"Gerrit P. Haase" wrote: > #!/usr/bin/perl > > use strict; > use CGI::Carp qw(fatalsToBrowser); > > print "Content-type: text/html\n\n"; ^ This is not a valid CGI script. All HTTP headers must be terminated by CRLF, so you'd have to use "\r\n\r\n" here. But