Subject: Re: CGI - help needed
To: None <netbsd-users@netbsd.org>
From: Wojciech Puchar <wojtek@chylonia.3miasto.net>
List: netbsd-users
Date: 12/09/2001 08:54:43
> [Sat Dec  8 22:05:31 2001] [error] [client 217.96.12.12] Premature end of
> script headers: /home/wojtek/public_html/mer/src/1.cgi
>
> with any CGI program i try. same program does run under other linux apache
> server i configured myself
>
> this is simplest CGI i tried:
>
> #!/bin/sh
> echo Content-type: text/html
> echo
> echo aaaa

solved! but it looks like error in pkgsrc
with suexec apache is compiled with user "www" set as apache user. while
it by default run as nobody.