https://issues.apache.org/bugzilla/show_bug.cgi?id=51207
Bug #: 51207
Summary: rewrite ruleset does not longer works (in 2.2.18)
Product: Apache httpd-2
Version: 2.2-HEAD
Platform: Other
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: mod_rewrite
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Given the directories x, x/1 and the file x/1/2 below and the following ruleset
provided in the .htaccess file in document root
1 RewriteEngine On
2 RewriteCond %{REQUEST_URI} d/(.*?)/(.*?)/(.*)$
3 RewriteCond %{DOCUMENT_ROOT}/x/%1/%2 -f
4 RewriteRule d/(.*)$ x/%1/%2/%3
apache 2.2.17 compiled with
./configure --prefix=/tmp/2.2.17/ --enable-rewrite
make
make install
and with these modifications in httpd.conf
40 Listen 2217
151 AllowOverride All
delivers the content of the file x/1/2 to the browser upon the url
http://localhost:2217/d/1/2/3 as expected.
Apache 2.2.18, however, returns a 404 Error "The requested URL /d/1/2/3 was not
found on this server."
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]