I'm trying to set up squid to do proxy redirects for hosts that are
positioned behind the squid host.  My current configuration is as
follows.

Squid Proxy: listens on port 80.
Accelerator Host 1.1.1.212 Port 8080
Accelerator Host 1.1.1.211 Port 3000

The FQDN on the outside of the proxy for the individual hosts:
<http://www.domainname.com>  --- Should come in to squid on port 80, then
redirect to host 1.1.1.212:8080.

<http://webmail.domainname.com>  --- Should come in to squid on port 80,
then redirect to host 1.1.1.211:3000.

I've tried setting this up, but when testing with an outside client that
tries both <http://www.domainname.com> and <http://webmail.domainname.com>
  it gets redirected to 1.1.1.211:3000, instead of the correct respective
host 1.1.1.212:8080.  I have both <accel> settings in my conf file that
supposedly represent the individual hosts.  For some reason it seems that
squid takes the last <accel> statement and ignores the first <accel>
statement.  Am I missing something?  Or is this a bug in Squid V2.5
stable?

Any help is greatly appreciated!

Thanks in advance,


Reply via email to