#35096 [NEW]: php 4.4.2-dev has still trouble with mod_rewrite/apache2
| From: | rob at burningsoda dot com | Date: | Fri, 04 Nov 2005 01:49:59 +0000 |
| Subject: | #35096 [NEW]: php 4.4.2-dev has still trouble with mod_rewrite/apache2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-87544@lists.php.net to get a copy of this message | ||
From: rob at burningsoda dot com
Operating system: FreeBSD 6.0RC1
PHP version: 4CVS-2005-11-04 (snap)
PHP Bug Type: Apache2 related
Bug description: php 4.4.2-dev has still trouble with mod_rewrite/apache2
Description:
------------
I just downloaded
Stable (4.4.x-dev)
Built On: Nov 03, 2005 23:51 GMT
and built it:
PHP 4.4.2-dev (cli) (built: Nov 4 2005 02:17:10)
But it seems like, the following bug is _not_ fixed
in that snapshot:
http://bugs.php.net/bug.php?id=35059
This happens with _any_ RewriteRule I use.
Reproduce code:
---------------
Try to use mod_rewrite on Apache 2.x to modify any URL.
Small test case:
index.php:
<?php echo($_GET['myarg']); ?>
RewriteRule:
RewriteRule ^(.+)/$ index.php?myarg=$1 [L]
URLs to try:
1. http://localhost/index.php?myarg=bla
2. http://localhost/blub/
3. http://localhost/index.php/
Expected result:
----------------
In all three cases a document should be delivered:
1. "bla"
2. "blub"
3. "index.php"
Actual result:
--------------
1. Correctly delivers document.
2. No document is delivered.
3. Correctly delivers document.
--
Edit bug report at http://bugs.php.net/?id=35096&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35096&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35096&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35096&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35096&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35096&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35096&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35096&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35096&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35096&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35096&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35096&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35096&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35096&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35096&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35096&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35096&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35096&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35096&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35096&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35096&r=mysqlcfg