Return-Path: Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 90968 invoked by uid 500); 23 Jan 2003 16:04:36 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 90957 invoked from network); 23 Jan 2003 16:04:36 -0000 Date: 23 Jan 2003 16:06:00 -0000 Message-ID: <20030123160600.5639.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 16368] New: - LoadModule order for mod_proxy and mod_rewrite X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=16368 LoadModule order for mod_proxy and mod_rewrite Summary: LoadModule order for mod_proxy and mod_rewrite Product: Apache httpd-2.0 Version: 2.0.43 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: Other Component: mod_rewrite AssignedTo: bugs@httpd.apache.org ReportedBy: andre.breiler@rd.bbc.co.uk It seems that some strange side effects happen if mod_rewrite is loaded before mod_proxy. I have the following in the httpd.conf: --- snip --- LoadModule rewrite_module modules/mod_rewrite.so LoadModule proxy_module modules/mod_proxy.so --- snap --- and the following in an .htaccess (cgi-perl/.htaccess): --- snip --- RewriteEngine On RewriteRule (.*) http://192.168.111.111:8080/no/$1 [P] --- snap --- which produces an unexptected result for the request: http://127.0.0.1/cgi-perl/blah?world=reboot . It sends an request http://192.168.111.111:8080/no/blah%3Fworld=reboot?world=reboot . The the two LoadModule lines are exchanged so that mod_proxy is before mod_rewrite it works as expcted (request http://192.168.111.111:8080/no/blah?world=reboot is sent). I don't know if this is really an bug or intended (I see it a bit as bug). --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org