httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Mysterious \"Premature end of script headers\" error
Date Fri, 01 Dec 2006 13:10:06 GMT
> -----Original Message-----
> From: uxwrstre [mailto:uxwrstre@trashmail.net] 
> Sent: Friday, December 01, 2006 2:06 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Mysterious \"Premature end of script 
> headers\" error
> 
> 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 :

Try running it as the same use who runs apache (see "User"), also watch
out for add ENVs that it may need (it won't have them when spawned by
apache).

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> I get an internal error 500 message with this script, and the 
> log file 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
> 
> What is very mysterious is that since the apache software has 
> been upgraded from 1.3.14 to 1.3.37 that this error appeared. 
> But I\'m not 100% sure that its in relation with the version 
> upgrade because many changes have been made.
> Does somebody knows why this CGI-BIN is not working?
> Is there maybe a new CGI standard requirement in apache 
> 1.3.37 that it does no more allows the \"Location\" command itselfs?
> How could I debug this?
> 
> Best regards,
> saf
> 
> -- 
> E-Mail sent with anti-spam site TrashMail.net!
> Free disposable email addresses: http://www.trashmail.net/
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message