DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39253>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39253 Summary: Rewrite proxy requests being handled by wrong proxy Product: Apache httpd-2 Version: 2.3-HEAD Platform: PC OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: mod_proxy AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] In Apache 2.2.1 (the release candidate) either mod_proxy or mod_rewrite is breaking badly. Here's what the trimmed down config file looks like (it still exhibits the same problem): Listen 192.168.100.22:80 <VirtualHost 192.168.100.22:80> ServerName www.domain.com RewriteEngine On RewriteRule ^/external/(.*) http://192.168.100.66:8099/$1 [P] RewriteRule ^/(.*) http://127.0.0.1:8080/$1 [P] </VirtualHost> Steps to reproduce the problem: SCENARIO 1: 1. Restart Apache 2. Access http://www.domain.com/ -> is proxied to 127.0.0.1:8080 as expected 3. Access http://www.domain.com/external/ (and all subsequent requests) -> is still proxied to 127.0.0.1:8080, although rewrite_log shows it matches the /external rule SCENARIO 2: 1. Restart Apache 2. Access http://www.domain.com/external/ -> is proxied to 192.168.100.66:8099 as expected 3. Access http://www.domain.com/external/ (and all subsequent requests) -> is still proxied to 192.168.100.66:8099, although rewrite_log shows it matches the / rule Btw, I don't have mod_proxy_balancer loaded. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
