#20356 [Opn->Bgs]: Wrong header, output broken
| From: | rasmus@php.net | Date: | Fri, 15 Nov 2002 08:21:09 +0000 |
| Subject: | #20356 [Opn->Bgs]: Wrong header, output broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24955@lists.php.net to get a copy of this message | ||
ID: 20356
Updated by: rasmus@php.net
Reported By: janus@linux-de.org
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: linux
PHP Version: 4CVS-2002-11-11
New Comment:
As explained on the apache-users list, this cannot be a PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2002-11-15 01:46:00] janus@linux-de.org
So now i've setup a 'test-suite'...
HTTP-Version: http://xmail.linux-de.org/test/
HTTPS-Version: https://mail.linux-de.org/test/
There are php.html, perl.html and ruby.html... all cgi-scripts
printing
the ENV-Vars in a frameset.
PHP will fail nearly every time in one frame at minimum, the others
(perl and ruby) work nearly every time correct (it's absolutely
acceptable).
So now tell me, is it an PHP-Problem or Apache2? (I myself think again
it's php).
------------------------------------------------------------------------
[2002-11-13 08:53:18] janus@linux-de.org
I've to excuse.
Recently i got the same problem with one of my ruby-scripts, i'm sorry
for the rebukes.
Best regards,
simon
------------------------------------------------------------------------
[2002-11-13 08:02:06] janus@linux-de.org
I've posted it to the apache-mailinglist... i need a solution, so i've
to ask around :)
If i've new informations, i'll post'em here.
------------------------------------------------------------------------
[2002-11-11 12:20:42] janus@linux-de.org
Which one? PHP or another one?
Ther error occours even if i let the script print "hello world".
It's really boring... i only want to run php in a safe way... and
because the perchild-mpm for apache2 isn't working yet, i have to use
suexec, so every script runs with the right permission, that's the only
reason why i'm using the cgi-version of php.
If there's another safe way, i'll take a look at it.
------------------------------------------------------------------------
[2002-11-11 11:13:45] rasmus@php.net
Your CGI script does not send the HTTP/1.1 200 OK response, the web
server does. No matter what the CGI script returns, the server cannot
legally send anything before that header. If it does then the server
is broken by definition. There is just no arguing that point.
But what exactly does your cgi script generate when you run it from the
command line?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20356
--
Edit this bug report at http://bugs.php.net/?id=20356&edit=1