#34846 [Opn->Asn]: Related to a crash with mod_rewrite corrected earlier
| From: | tony2001@php.net | Date: | Thu, 13 Oct 2005 08:45:19 +0000 |
| Subject: | #34846 [Opn->Asn]: Related to a crash with mod_rewrite corrected earlier | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86505@lists.php.net to get a copy of this message | ||
ID: 34846
Updated by: tony2001@php.net
Reported By: jonathan dot semczyk at telecomlille dot net
-Status: Open
+Status: Assigned
Bug Type: Apache2 related
Operating System: Linux 2.4.26-grsec
PHP Version: 5CVS-2005-10-13 (snap)
-Assigned To:
+Assigned To: tony2001
Previous Comments:
------------------------------------------------------------------------
[2005-10-13 03:42:46] jonathan dot semczyk at telecomlille dot net
Description:
------------
hi,
I experienced the same behaviour as in the bug #34581 ,
sorry but when I answered I did not realized that it was for
a FreeBSD, I was running on Linux. Anyway I had the segfault
at the same time using mod_rewrite.
I applied the patch provided by Tony and it did run once, it
was just too good to be true, now I have a blank page,
If I turn the rewrite engine off everything is fine, and if
I replace the index.php by an index.html inside the htaccess
it also works as expected.
As suggested in the other bug report it does the same if I
put the rewrite code inside the httpd.conf
I have snapshot from Oct 12, 2005 22:30 GMT
I used the php.ini-recommanded
Apache 2.0.54
Reproduce code:
---------------
.htaccess code :
RewriteEngine On
RewriteRule ^.*$ index.php [L]
index.php :
anything, even only html.
Expected result:
----------------
see the text from the index.php for every URL
Actual result:
--------------
blank page. Apache gets the results from PHP as I get an entry
in my logs :
- - [13/Oct/2005:02:14:18 +0200] "GET /dsfsd,sdf HTTP/1.1"
200 - "-" "Mozilla/5.0 ( .....
As you can see the rewrite works (I get a 200 return code) but
the size of the returned page is 0.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34846&edit=1