Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 14648] - mod_rewrite does not proxy included requests

From: <bugzilla(at)apache.org>
Date: Wed Nov 27 2002 - 10:15:38 EST


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

  • Additional Comments From cramer@webkist.com 2002-11-27 15:15 ------- This doesn't work perfectly, I've discovered. Take the follwoing setup:

## relevant conf directives
DirectoryIndex index.html index.php
RewriteRule ^/(.*\.php)$ http://localhost:8888/$1 [P] ##

$DocRoot/blah/ contains: index.php and test.html

Now...*without* patching mod_rewrite, a request for http://www.domain.org/blah/ will return index.php just fine, and it will be properly proxied over to localhost:8888. And, as this bug points out, if test.html just contains
<!--#include virtual="index.php"-->, requests for it return the unparsed source
of index.php, which is incorrect.

But if you remove the one line from mod_rewrite, allowing proxy requests in subrequests, the situation reverses. The SSI part works properly, but requests for /blah/ give you a directory index instead of the output of index.php.

So this patch doesn't do exactly the right thing.



To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Wed Nov 27 15:15:23 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:44:09 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library