Hi Martin,

just a straight copy and paste of your suggestion into a new default squid.conf file under the following line...
#INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

acl our_sites dstdomain www.icafe.com.au www.pamphlets.org.au *.pamphlets.org.au *.icafe.com.au
acl icafe dstdomain www.icafe.com.au *.icafe.com.au
acl pamphlets dstdomain www.pamphlets.org.au *.pamphlets.org.au

http_access allow our_sites
cache_peer_access icafe_peer allow icafe
cache_peer_access pamphlets_peer allow pamphlets

http_port 80 accel defaultsite=www.icafe.com.au vhost
cache_peer 10.1.2.250 parent 80 0 no-query originserver name=icafe_peer
cache_peer 10.1.2.249 parent 80 0 no-query originserver name=pamphlets_peer



when starting squid I get this...
2009/08/27 11:08:34| Processing Configuration File: /etc/squid/squid.conf (depth 0)
2009/08/27 11:08:34| squid.conf, line 648: No cache_peer 'icafe_peer'
2009/08/27 11:08:34| squid.conf, line 649: No cache_peer 'pamphlets_peer'
2009/08/27 11:08:34| Initializing https proxy context
Starting squid: .                                          [  OK  ]


cache.log
2009/08/27 11:14:15| temporary disabling (Not Found) digest from 10.1.2.250
2009/08/27 11:15:15| temporary disabling (Not Found) digest from 10.1.2.249


when I browse the sites from external (i've updated the sites so that there is a slight change on each) www.icafe.com.au gives the correct updated site after a shift-reload of the browser www.pamphlets.org.au gives a very old www.icafe.com.au site even after deleting and clearing the browser. I'm trying to figure where it is getting this old version from.

What does no cache_peer mean here?
Thanks
Ben.



Martin Barry wrote:
$quoted_author = "Ben Donohue" ;
http_port 80 accel defaultsite=www.icafe.com.au vhost
cache_peer 10.1.2.250 parent 80 0 no-query originserver name=myAccel
acl our_sites dstdomain www.icafe.com.au www.pamphlets.org.au *.pamphlets.org.au *.icafe.com.au
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all

Can you try this?



acl our_sites dstdomain www.icafe.com.au www.pamphlets.org.au 
*.pamphlets.org.au *.icafe.com.au
acl icafe dstdomain www.icafe.com.au *.icafe.com.au
acl pamphlets dstdomain www.pamphlets.org.au *.pamphlets.org.au

http_access allow our_sites
cache_peer_access icafe_peer allow icafe
cache_peer_access pamphlets_peer allow pamphlets

http_port 80 accel defaultsite=www.icafe.com.au vhost
cache_peer 10.1.2.250 parent 80 0 no-query originserver name=icafe_peer
cache_peer 10.1.2.249 parent 80 0 no-query originserver name=pamphlets_peer



cheers
Marty
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to