[squid-users] Squid 2.6 Simple Reverse Proxy Question

From: Janet <alc_it@dont-contact.us>
Date: Tue, 2 Jan 2007 06:07:14 -0800 (PST)

Hello,

I am running squid-2.6STABLE6 as a reverse proxy.
I have two hosts that I want reverse proxied:
foo1.bar1.com and foo2.bar2.com

I've set up my squid.conf as follows:

http_port 80 vhost
http_access allow all

cache_peer foo1.bar1.com parent 80 0 no-query
originserver
cache_peer foo2.bar2.com parent 80 0 no-query
originserver

acl server1 dstdomain .foo1.bar1.com
acl server2 dstdomain .foo2.bar2.com
cache_peer_access foo1.bar1.com allow server1
cache_peer_access foo1.bar1.com deny all
cache_peer_access foo2.bar2.com allow server2
cache_peer_access foo2.bar2.com deny all

The problem I'm having is that when I access
foo2.bar2.com through the proxy, I'm handed out the
webpage for foo1.bar1.com.

What am I missing?

Thanks,
J.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Tue Jan 02 2007 - 07:07:33 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:00 MST