Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have setup a reverse proxy on my workplace LAN so several sites can be accessed from outside our LAN. I have included the mod-proxy-HTML, so it handles the rewriting of URLs in the returned HTML.

However Firefox and Chromium complains about an encoding problem.

If I edit the network.http.accept-encoding option of Firefox and remove the default gzip;deflate; then the site looks ok.

share|improve this question
up vote 4 down vote accepted

Configuring Apache like this:

SetOutputFilter INFLATE;proxy-html;DEFLATE

solved my problem.

share|improve this answer
I had to uncomment LoadModule deflate_module modules/ in my httpd.conf file in order to make this work for me. – braveterry Mar 4 '13 at 1:55

Try disabling mod_deflate in your Apache configuration.

share|improve this answer
That would do. However, I make SetOutputFilter INFLATE;proxy-html;DEFLATE and it worked. – manu Apr 11 '11 at 19:00

Use This:

ProxyHTMLCharsetOut *

*ProxyHTMLCharsetOut Syntax ProxyHTMLCharsetOut name This selects an encoding for mod_proxy_html output. It should not normally be used, as any change from the default UTF-8 (Unicode - as used internally by libxml2) will impose an additional processing overhead. The special token ProxyHTMLCharsetOut * will generate output using the same encoding as the input.*

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .