You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/09/20 14:02:44 UTC

DO NOT REPLY [Bug 42610] - mod_rewrite and mod_proxy handle ';' incorrectly

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=42610>.
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=42610


rahul@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rahul@sun.com  2007-09-20 05:02 -------
Are you sure you are using mod_rewrite? because 
RedirectMatch that is there in the bug description is mod_alias, and it does not
take [P] as a parameter
AP_INIT_TAKE23("RedirectMatch", add_redirect_regex,
                   (void *) HTTP_MOVED_TEMPORARILY, OR_FILEINFO,
                   "an optional status, then a regular expression and "
                   "destination URL"),

RewriteRule on the other hand does take the flag [P], and works perfectly well.
.....
RewriteRule ^/(.*)$  http://agneyam.india.sun.com:2000/$1 [P]
.....
(echo "GET /foo;bar HTTP/1.0\n\n" ;sleep 1000000) | telnet agneyam 8080
.....
>[
GET /foo;bar HTTP/1.1
Host: agneyam.india.sun.com:2000
Max-Forwards: 10
X-Forwarded-Server: agneyam
Connection: Keep-Alive

]




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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