Re: [SQU] Host header munging?

From: Mike Suter <mike@dont-contact.us>
Date: Sat, 28 Oct 2000 00:54:10 -0500 (CDT)

> > This is basically what I'm doing - a+b (a for the host-header virtual
> > server, b for the older ip-based servers). We are using split DNS.

> > Unfortunately it didn't seem to work for me in the situation you
> > describe in (a).

> > ip #1 -> server #1
> > ip #2 -> server #2
> > ip #3 -> host-header server #3

> > www.domain1.com resolves to ip #1 externally, www.domain2.com resolves
> > to ip #2 externally, www.domain[3..n].com resolves to ip #3 on the
> > outside.

> So what is the output of your redirector for requests for
> www.domain42.com? It should be www.domain42.com, nothing else.

Assuming www.domain42.com translates to 192.168.100.1, along with
www.domain{40..41}.com, the redirector rewrites 192.168.100.1 to
virthost.inside.com, which is doing host-header hosting.

I didn't try having the redirector not translate these host-header
virt domains (and just letting split DNS take care of it) - maybe
that's an answer - but I figured turning redirect_rewrites_host_header
off would prevent this from being a factor..?

Mike

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Oct 27 2000 - 23:57:07 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:01 MST