----- Original Message ----- From: "mjd" <[EMAIL PROTECTED]> To: "Philippine Linux Users Group Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, September 23, 2003 2:36 AM Subject: Re: [plug] Force Squid to request from upstream proxy
> fooler wrote: > > > but if you want to force your sibling proxy to fetch the parent proxy > > whether it is up or down, add these lines: > > > > acl all src 0.0.0.0/0.0.0.0 > > never_direct allow all > > This is actually what I want to do. My configuration is as follows: > > >>acl our_network src 172.16.0.0/12 > >>http_access allow our_network > >>never_direct allow our_network > >>cache_peer 10.0.0.1 parent 80 0 default > > Is there a line I need to add in my configuration so that my requests > sent to the parent will be fetched by the parent in case it does not > exist in the parent's cache? From what I'm seeing in my logs, it seems > that the parent does not fetch the requests made by my Squid server. By > the way, my upstream is an M$ ISA server. replace "never_direct allow our_network" into "never_direct allow all" never_direct is the opposite of always_direct... when you say "never_direct allow our_network", it instruct squid to force to use the parent cache if the destination ip address belongs to "our_network" segment... therefore "never_direct allow all" is the proper parameter for your problem... acl all src 0.0.0.0/0.0.0.0 acl our_network src 172.16.0.0/12 http_access allow our_network never_direct allow all cache_peer 10.0.0.1 parent 80 0 no-query default fooler. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
