Re: Premature end of script headers error with CGI

2013-09-02 Thread Beto
> but it keeps saying: > > > # cat /var/www/logs/error_log > [Mon Aug 26 10:09:13 2013] [error] [client 10.0.2.2] Premature end of > script headers: /htdocs/cgi-bin/SEARCH.cgi > # > > > yes, I tried many things..(permissions looks good, printf binary copied to > chroot, httpd.conf looks ok..) several hours of pain.. can someone post a > howto/URL? > > Thanks, have a better day :)

Re: Premature end of script headers error with CGI

2013-09-02 Thread Ville Valkonen
-bin/SEARCH.cgi > printf "Content-type: text/html\n\n"; > printf hi > > but it keeps saying: > > > # cat /var/www/logs/error_log > [Mon Aug 26 10:09:13 2013] [error] [client 10.0.2.2] Premature end of > script headers: /htdocs/cgi-bin/SEARCH.cgi > # > > > y

Re: Premature end of script headers error with CGI

2013-09-02 Thread patrick keshishian
printf "Content-type: text/html\n\n"; tried with printf "Content-type:text/html\r\n\r\n"? > printf hi > > but it keeps saying: > > > # cat /var/www/logs/error_log > [Mon Aug 26 10:09:13 2013] [error] [client 10.0.2.2] Premature end of > script

Premature end of script headers error with CGI

2013-09-02 Thread obsd, cgi
eps saying: # cat /var/www/logs/error_log [Mon Aug 26 10:09:13 2013] [error] [client 10.0.2.2] Premature end of script headers: /htdocs/cgi-bin/SEARCH.cgi # yes, I tried many things..(permissions looks good, printf binary copied to chroot, httpd.conf looks ok..) several hours of pain.. can someone po

Re: premature end of script headers

2006-06-30 Thread Craig Skinner
On Fri, Jun 30, 2006 at 11:49:26AM +0700, riwanlky wrote: > Hi All, > > I am trying to run TWiki on my OBSD 3.9 box. Installed using pkg_add > TWiiki-20040903p0.tgz > Include the following in my httpd.conf: > > apachectl restart. Try this: # apachectl stop # httpd -u <- TWiki wont run in chroo

premature end of script headers

2006-06-29 Thread riwanlky
Hi All, I am trying to run TWiki on my OBSD 3.9 box. Installed using pkg_add TWiiki-20040903p0.tgz Include the following in my httpd.conf: ScriptAlias /twiki/bin/ "/var/www/cgi-bin/twiki/" Alias /twiki/ "/var/www/htdocs/twiki/" Options +ExecCGI SetHandler cgi-script A

Re: Nagios: Premature end of script headers

2005-08-24 Thread Matteo Mancini
> Eu olhei o arquivo de log de erros e ele me diz o seguinte: > > "[Tue Aug 23 11:35:06 2005] [error] [client 10.10.1.254<http://10.10.1.254/>< > http://10.10.1.254>] > Premature end of script headers: /nagios/cgi-bin/tac.cgi > [Tue Aug 23 11:35:16 2005]

Re: Nagios: Premature end of script headers

2005-08-23 Thread L. V. Lammert
At 02:37 PM 8/23/2005 -0300, Joco Salvatti wrote: Hi all, I installed and configured Nagios on my machine. The Nagios webpage can be retrieve normally, but something strange happens when I try to retrieve host detail: "Internal Server Error The server encountered an internal error or misconfig

Nagios: Premature end of script headers

2005-08-23 Thread João Salvatti
e me diz o seguinte: "[Tue Aug 23 11:35:06 2005] [error] [client 10.10.1.254<http://10.10.1.254/>< http://10.10.1.254>] Premature end of script headers: /nagios/cgi-bin/tac.cgi [Tue Aug 23 11:35:16 2005] [error] [client 10.10.1.254 <http://10.10.1.254/>< http://10.10.1.25