#35207 [Opn->Bgs]: mod_rewrite not working properly
| From: | sniper@php.net | Date: | Mon, 14 Nov 2005 19:34:49 +0000 |
| Subject: | #35207 [Opn->Bgs]: mod_rewrite not working properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88169@lists.php.net to get a copy of this message | ||
ID: 35207
Updated by: sniper@php.net
Reported By: adsh at univ dot kiev dot ua
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: FreeBSD 4.11
PHP Version: 4.4.1
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
This is same issue as in bug #35186
Previous Comments:
------------------------------------------------------------------------
[2005-11-14 20:14:42] adsh at univ dot kiev dot ua
1. I understand. Such link work fine in both cases (rewrite is On or
Off):
http://adsh.ukrweb.net/blog/blog.php?id=15
2. mod_rewrite is On. There is not #3518 bug.
I recompile and test libphp4.so version 4.1.x, 4.2.x, 4.3.x, 4.4.0. Bug
is only with version >= 4.4.1.
------------------------------------------------------------------------
[2005-11-14 18:53:40] tony2001@php.net
>1. If I disable mod_rewrite I have standart 404 error:
Obviously you need to change the URL to the real one to execute the
script.
>2. I add var_dump(getcwd()); at the top of index.php.
This is with mod_rewrite On or Off?
Isn't the bug http://bugs.php.net/bug.php?id=35186 the same issue?
------------------------------------------------------------------------
[2005-11-14 18:39:06] adsh at univ dot kiev dot ua
1. If I disable mod_rewrite I have standart 404 error:
The requested URL /blog/article/15/ was not found on this server.
2. I add var_dump(getcwd()); at the top of index.php. Result in
browser:
string(29) "/home/adsh.ukrweb.net/blog"
There are no errors in apache error log for this request.
------------------------------------------------------------------------
[2005-11-14 10:08:44] tony2001@php.net
Why did you decide it happens only when mod_rewrite is On?
Please add this line: var_dump(getcwd()); before the include(); and
paste it's output here.
------------------------------------------------------------------------
[2005-11-14 00:49:12] adsh at univ dot kiev dot ua
If I replace libphp4.so to version 4.4.0 all work fine!
I don't use absolute paths.
mod_rewrite is on - You can test this URL (mod_rewrite referer
protection):
http://adsh.ukrweb.net/blog/upload/isa_server_2000.jpg
You can see more info in this ULR:
http://servous.se/punbb/viewtopic.php?pid=1329
------------------------------------------------------------------------
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/35207
--
Edit this bug report at http://bugs.php.net/?id=35207&edit=1