Re: [squid-users] squid doesn't seem to be updating...

From: Anton Melser <melser.anton@dont-contact.us>
Date: Sun, 10 Jun 2007 13:32:50 +0200

On 09/06/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> fre 2007-06-08 klockan 16:11 +0200 skrev Anton Melser:
>
> > Squid is doing reverse proxy for all these sites, and until now
> > everything seemed to be working. Site c is the default site... and I
> > am asking myself if this is the problem. What I want to do is point
> > site e to server 1 (which has a copy of site e). Alas, it keeps
> > pointing to server 1.
>
> So how have you configured cache_peer + cache_peer_access/domain?

http_port 172.16.116.1:80 defaultsite=www.c.org vhost
http_port 172.16.116.2:80 defaultsite=www.c.org vhost

cache_peer 172.16.16.1 parent 80 0 originserver name=server_1
acl sites_server_1 dstdomain www.c.org c.org
cache_peer_access server_1 allow sites_server_1

cache_peer 127.0.0.1 parent 80 0 originserver name=server_2
acl sites_server_2 dstdomain cartographie.bretagne-environnement.org
cache_peer_access server_2 allow sites_server_2
http_access allow sites_server_2

cache_peer 172.16.16.1 parent 80 0 originserver name=server_3
acl sites_server_3 dstdomain www.d.fr d.fr
cache_peer_access server_3 allow sites_server_3

cache_peer 127.0.0.1 parent 80 0 originserver name=server_4
acl sites_server_4 dstdomain a.d.fr
cache_peer_access server_4 allow sites_server_4
http_access allow sites_server_4

cache_peer 127.0.0.1 parent 80 0 originserver name=server_5
acl sites_server_5 dstdomain www.e.fr e.fr
cache_peer_access server_5 allow sites_server_5

visible_hostname a.c.org
...
It is the last config - server_5 that was pointing to 172.16.16.1, and
for some reason keeps hitting it.
Cheers
Anton
Received on Sun Jun 10 2007 - 05:32:54 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT