ID:               34846
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jonathan dot semczyk at telecomlille dot net
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: Linux 2.4.26-grsec
 PHP Version:      5CVS-2005-10-13 (snap)
 Assigned To:      tony2001
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

I can't reproduce it with Apache 2.0.54 on Linux.



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

Reply via email to