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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]