https://issues.apache.org/bugzilla/show_bug.cgi?id=51987
Bug #: 51987
Summary: RewriteRule doesn't work correctly with apache 2.3.
Product: Apache httpd-2
Version: 2.3.12-beta
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_rewrite
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Hello.
I have an Apache with the following configuration.
ServerName hogehoge
<VirtualHost *:80>
<LocationMatch "/service_a/*">
RewriteEngine on
RewriteRule /service_a/(.*) http://192.168.56.11/$1 [P]
</LocationMatch>
<LocationMatch "/service_b/*">
RewriteEngine on
RewriteRule /service_b/(.*) http://192.168.56.12/$1 [P]
</LocationMatch>
</VirtualHost>
Thus the request URL shuold be rewrite:
http://hogehoge/service_a/foo1.html ==> http://192.168.56.11/foo1.html
http://hogehoge/service_b/foo2.html ==> http://192.168.56.12/foo2.html
However, it doesn't work correctly.
According to packet capture, the following accesses have sometimes occurred.
http://hogehoge/service_a/foo1.html ==> http://192.168.56.12/foo1.html
http://hogehoge/service_b/foo2.html ==> http://192.168.56.11/foo2.html
Thanks you.
--
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]