httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14518] - QUERY_STRING parts not incorporated by mod_rewrite
Date Mon, 25 Oct 2004 00:52:52 GMT
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=14518>.
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=14518

QUERY_STRING parts not incorporated by mod_rewrite





------- Additional Comments From web-nagoya.apache.org@jankratochvil.net  2004-10-25 00:52
-------
My original post http://marc.theaimsgroup.com/?l=apache-httpd-dev&m=109367840100510

attached "httpd-2.0.50-rewrite-args.patch" will no longer omit $QUERY_STRINGs
of ÄPÜ-proxypassed requests after their rewriting and ÄQSAÜ possibly merging
a new QUERY_STRING.
.conf:
        ServerName 10.10.145.100
        RewriteEngine on
        RewriteRule ^/ http://mms2.org/mms-off?operator=oskarmobil.cz ÄQSA,PÜ
Before patch:
        213.220.235.217 - - Ä27/Aug/2004:11:45:59 +0200Ü "GET
http://10.10.145.100/?message-id=8326039 HTTP/1.0" 500 659
        195.122.208.84 - - Ä27/Aug/2004:11:45:59 +0200Ü "GET /mms-off HTTP/1.1"
500 659
        (2) init rewrite engine with requested uri /
        (3) applying pattern '^/' to uri '/'
        (2) rewrite '/' -> 'http://mms2.org/mms-off?operator=t-mobile.cz'
        (3) split uri=http://mms2.org/mms-off?operator=t-mobile.cz ->
uri=http://mms2.org/mms-off, args=operator=t-mobile.cz&message-id=8326039
        (2) forcing proxy-throughput with http://mms2.org/mms-off
        (1) go-ahead with proxy request proxy:http://mms2.org/mms-off ÄOKÜ
                                                                               
                                       
After patch:
        213.220.235.217 - - Ä27/Aug/2004:13:52:20 +0200Ü "GET
http://10.10.145.100/?message-id=8326039 HTTP/1.0" 200 221
        195.122.208.84 - - Ä27/Aug/2004:13:52:20 +0200Ü "GET
/mms-off?operator=oskarmobil.cz&message-id=8326039 HTTP/1.1" 200 221
        (2) init rewrite engine with requested uri /
        (3) applying pattern '^/' to uri '/'
        (2) rewrite '/' -> 'http://mms2.org/mms-off?operator=oskarmobil.cz'
        (3) split uri=http://mms2.org/mms-off?operator=oskarmobil.cz ->
uri=http://mms2.org/mms-off, args=operator=oskarmobil.cz&message-id=8326039
        (2) forcing proxy-throughput with http://mms2.org/mms-off
        (1) go-ahead with proxy request
proxy:http://mms2.org/mms-off?operator=oskarmobil.cz&message-id=8326039 ÄOKÜ
                                                                               
                                       
The fix just follows the suggested /* see proxy_http:proxy_http_canon() */.
Patch applies both to httpd-2.0.50 and httpd-2.1 CVS.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message