DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14648>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14648 mod_rewrite does not proxy included requests Summary: mod_rewrite does not proxy included requests Product: Apache httpd-1.3 Version: 1.3.27 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: mod_rewrite AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] This is a duplicate of PR2074, PR5338, PR6804 and possibly others I couldn't find in bugzilla. Basically the problem is, if you have: ProxyPass /foo http://newserver/foo ProxyPassReverse /foo http://newserver/foo Then an SSI of: <!--#include virtual="/foo/bar"--> _will_ be proxied. If instead of ProxyPass you use: RewriteRule /foo(.*) http://newserver/foo$1 [P] then the above SSI is _not proxied_. This is because of: /* * Ignore this rule on subrequests if we are explicitly * asked to do so or this is a proxy-throughput or a * forced redirect rule. */ if (r->main != NULL && (p->flags & RULEFLAG_IGNOREONSUBREQ || p->flags & RULEFLAG_PROXY || p->flags & RULEFLAG_FORCEREDIRECT )) { continue; } in mod_rewrite. If you comment out the RULEFLAG_PROXY, it works as expected. I'm not sure of the consequences this has. Can anyone comment on the reasoning behind this? I believe this also applies to httpd-2.0, but I haven't actually compiled it yet. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
