#20356 [Opn]: PHP delivers sourcecode

From: Date: Mon, 11 Nov 2002 16:19:24 +0000
Subject: #20356 [Opn]: PHP delivers sourcecode
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24589@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 Bug Type: Apache2 related Operating System: linux 2.4.19 PHP Version: 4CVS-2002-11-11 New Comment: This looks like an Apache2 bug to me. When running PHP as a CGI it is the web server that is responsible for sending back the 200 OK and making sure nothing gets sent back before it. PHP as a CGI has been tested for years with dozens of other web servers. Previous Comments: ------------------------------------------------------------------------ [2002-11-11 06:51:39] derick@php.net recategorize ------------------------------------------------------------------------ [2002-11-11 06:40:40] janus@linux-de.org It's just like http://bugs.php.net/bug.php?id=14751 Except now i'm confirming that with Apache2 in SSL-mode. It has to be a PHP problem, because a HTTP-Header looks like this: ---------- 0 HTTP/1.1 200 OK Date: Mon, 11 Nov 2002 11:31:32 GMT Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g ---------- Yes, THERE IS a "0\n\n" before the real header... and that happens ONLY with PHP, all other CGI-Scripts work fine. PHP is configured like this in htt.conf: ---------- ScriptAlias /php4-cgi-bin-dir "/pool/system/php4/bin" Action application/x-httpd-php /php4-cgi-bin-dir/php AddHandler application/x-httpd-php .php ---------- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20356&edit=1

« previous php.bugs (#24589) next »