Reverse Proxying to

OCTOBER 2, 2009

I wanted to do a reverse proxy to in order to integrate an existing blog into an existing site. This turned out to be a little trickier than I’d thought due to’s usage of gzip deflation of their output.

Figured this out thanks to sound advice here and here:


  <Proxy *>
        Allow from
  ProxyPass /
  ProxyPassReverse /
  ProxyHTMLURLMap /
  <Location />
    SetOutputFilter proxy-html
    # get rid of Content-Encoding at wordpress end
    # To use this you'll need to do (on debian) a2enmod headers
    RequestHeader unset  Accept-Encoding

    # Alternative method: inflate then deflate again ... (requires more effort at our end)
    # Could NOT get this to work (though suggested by both reference sites!)
    # SetOutputFilter INFLATE;proxy-html;DEFLATE