On 9/24/07, John ORourke <[EMAIL PROTECTED]> wrote:
> 1. I was initially put off mod_proxy by the docs (
> http://perl.apache.org/docs/1.0/guide/strategy.html#Apache_s_mod_proxy )
> that say mod_proxy has a "difficult case is where you have DNS aliases
> that map to the same IP address".  I then found the ProxyPreserveHost
> directive which preserves the HTTP Host header when passing the request
> on - am I right in thinking the docs need to be corrected, and this is
> no longer an issue?

It's no longer an issue IF you're using apache 2 for your proxy.  If
you'd like to submit a doc patch to that effect, we'd be happy to have
it.

> 2. I use mod_gzip for inline compression.  Should I put mod_gzip in the
> heavy or the light httpd?  I'm thinking that if heavy httpd compresses
> it, mod_cache will have less to store and won't have to re-compress.
> However maybe light httpd should be doing the actual compression work,
> freeing up heavy for more requests.  Any recommendations?

Usually you don't send requests for actual static files to the heavy
httpd at all, which means they wouldn't get compressed if you don't
put it in the proxy.  By the way, I think mod_deflate has pretty much
replaced mod_gzip for apache 2 at this point.

- Perrin

Reply via email to