You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Voorhees <jv...@gmail.com> on 2010/06/09 23:28:18 UTC

[users@httpd] Re: Reverse proxy with Apache breaks my preferred charset

Any idea of this? I don't know why mod_proxy is forcing the UTF-8
charset even when I try to change it (to ISO-88-59-1) trough diferent
Apache directives.

Does anybody ever configured an reverse proxy with Apache using a
charset different than UTF-8?


:(

On Tue, Jun 8, 2010 at 5:50 PM, Jason Voorhees <jv...@gmail.com> wrote:
> Hi all:
>
> I'm running Apache 2.2.15 in a CentOS Linux 5 OS configured as a
> reverse proxy using mod_proxy, mod_proxy_html, mod_xml2enc and
> mod_charset_lite. My configuration is as follows:
>
> ProxyRequests Off
> ProxyPass / http://192.168.140.249/
> ProxyHTMLEnable On
> ProxyHTMLURLMap On
> ProxyHTMLURLMap http://192.168.140.249 /
> ProxyPassReverse / http://192.168.140.249/
> RequestHeader unset  Accept-Encoding
> CharsetDefault ISO-8859-1
> CharsetSourceEnc ISO-8859-1
> CharsetOptions  ImplicitAdd
>
> 192.168.140.249 is the IP address of my internal Web server with is
> using ISO-8859-1 as default charset. When accesing the Apache reverse
> proxy server the Website (behing my proxy apache) loads OK, every URL
> is loaded correctly but... special characters (tildes, ñ, and other
> typical of non-english languages.. like spanish) are displayed as
> strange characters. I can understand that this happens because of the
> use of the default charset.
> Reading on Internet I found that mod_proxy resets the default charset
> to UTF-8, but I also read that using mod_charset_lite could solve this
> but it isn't (using CharsetDefault, CharsetSourceEnc and
> CharsetOptions).
>
> Does anybody has a similar scenario that has solved this issue before?
> I hope someone can point me to a solution.
>
> Thanks
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org