httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mase'" <>
Subject [users@httpd] UTF8 uri encoding mod_proxy
Date Thu, 27 Oct 2011 13:29:05 GMT
Unluckly I should manage UTF8 characters in hte URI, more exactly in
the query string.
All requests pass through an apache 2.2.x mod_proxy.

Request correctly made by Firefox    -    27/10/2011 12:23:49 CEST
4FF6BE8CC0EF4B9505FEEA75FC85954C    HTTP/1.1    GET    7
   200    39047
"Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101
Firefox/7.0.1"    566035    +    786    39366

The incorrect request made by Internet Explorer    -    27/10/2011 12:19:01 CEST
D93DE76B886AD3A8A416671EA908BA58    HTTP/1.1    GET    0
   502    538
   "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
2222    +    1019    726

The problem is the word attività:

Firefox correctly passes it as attivit%C3%A0
IE incorrectly passes it as attivit\xc3\xa0

Fro explorer You receive the HTTP 502 error:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /path1/path2/detail.act

Reason: Error reading from remote server

As a workaround using the "Turn off sending URLs as UTF-8" option in
IE the request is made correctly.

How I solve it without using the IE workaround?

This is rhe rev.proxy cfg:
ProxyPreserveHost On
ProxyPass /path1/
 ProxyPassReverse /path1/
RewriteRule ^/path1$ /path1/ [R]
Michele MAsè

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message