Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-05 Thread Sean Conner
It was thus said that the Great uxwrstre once stated: > On Tuesday 05 December 2006 08:38, Sean Conner wrote: > >   One trick I've done under Unix, debugging CGI programs in C is to add the > > following to the CGI program: > > ... > > Thanks, this is a very good idea! > I suppose that you must al

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-05 Thread uxwrstre
On Tuesday 05 December 2006 08:38, Sean Conner wrote: >   One trick I've done under Unix, debugging CGI programs in C is to add the > following to the CGI program: > ... Thanks, this is a very good idea! I suppose that you must also set somewhere a timeout that the cgi-bin program get not killed

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread Sean Conner
It was thus said that the Great Boyle Owen once stated: > > > > On Friday 01 December 2006 14:05, uxwrstre wrote: > > > ... > > > shows the following: [Fri Dec 1 13:33:43 2006] [error] [client > > > 134.171.16.75] Premature end of script headers: > > > /home/web/archive/docs/bin/http-goto > > >

RE: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread Boyle Owen
> -Original Message- > From: uxwrstre [mailto:[EMAIL PROTECTED] > Sent: Monday, December 04, 2006 3:36 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Mysterious \"Premature end of > script headers\" error > > On Friday 01 D

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Friday 01 December 2006 14:05, uxwrstre wrote: > ... > shows the following: [Fri Dec 1 13:33:43 2006] [error] [client > 134.171.16.75] Premature end of script headers: > /home/web/archive/docs/bin/http-goto Hello everybody, I found out the problem! The problem was that the CGI-BIN C program w

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Monday 04 December 2006 11:33, Boyle Owen wrote: > Try replacing the "Location" with the more usual; > > "Content-type: text/html \n\n" > > NB - two returns after the header text > > Then some basic content, eg, "it works!" > > what happens? > > If it still gives problems, you need to look at s

RE: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread Boyle Owen
or details). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > -Original Message- > From: uxwrstre [mailto:[EMAIL PROTECTED] > Sent: Monday, December 04, 2006 11:25 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Mysterious

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-04 Thread uxwrstre
On Friday 01 December 2006 14:15, Robert Fox wrote: > What is the script written in? Can you run the script from the command > line? > > Usually, this means that the script is not sending out a completely formed > HTTP header, which can happen for a variety of reasons. The script is written in C.

RE: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread Boyle Owen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 3:32 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Mysterious \"Premature end of > script headers\" error > > It's a cgi

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread uxwrstre
On Friday 01 December 2006 14:10, Boyle Owen wrote: > > -Original Message- > > From: uxwrstre [mailto:[EMAIL PROTECTED] > > Sent: Friday, December 01, 2006 2:06 PM > > To: users@httpd.apache.org > > Subject: [EMAIL PROTECTED] Mysterious \"Prematur

Re: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread Robert Fox
What is the script written in? Can you run the script from the command line? Usually, this means that the script is not sending out a completely formed HTTP header, which can happen for a variety of reasons. Rob uxwrstre wrote: Hello, I\'m using Apache 1.3.37 on Solaris 8 (SPARC architectur

RE: [EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread Boyle Owen
> -Original Message- > From: uxwrstre [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 2:06 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Mysterious \"Premature end of script > headers\" error > > Hello, > > I\&#

[EMAIL PROTECTED] Mysterious \"Premature end of script headers\" error

2006-12-01 Thread uxwrstre
Hello, I\'m using Apache 1.3.37 on Solaris 8 (SPARC architecture). I have a simple CGI-BIN script which worked before and printed out the following: acwebint 13:57 archive/docs/bin : ./http-goto Location: http://acwebint/DICB acwebint 13:57 archive/docs/bin : I get an internal error 500 message