Re: [squid-users] Bypass parent for site

2005-06-15 Thread Matus UHLAR - fantomas
On 14.06 11:43, John Halfpenny wrote:
 We have a site which doesn't like to go through two instances of squid for
 some reason. Is there a way I can bypass a parent for a particular url?
 
 Our setup goes
 
 LAN  Squid[i]  Squid[ii]w/DansGuardian  Net
 
 Ideally, I would like to set Squid[i] to go straight out, ignoring it's
 parent for, say, example.com. Here is the line from Squid[i], anything I
 can do with this?

add the site to an acl and allow always_direct for the acl.

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The box said 'Requires Windows 95 or better', so I bought a Macintosh.


Re: [squid-users] Bypass parent for site

2005-06-15 Thread John Halfpenny

Ah yes, reading up on it that looks just the ticket, Emilio- I'll try it when I 
get the new [i] box installed!



Thanks for your help



John

 --- On Tue 06/14, Emilio Casbas  [EMAIL PROTECTED]  wrote:

From: Emilio Casbas [mailto: [EMAIL PROTECTED]

To: [EMAIL PROTECTED]

 Cc: squid-users@squid-cache.org

Date: Tue, 14 Jun 2005 18:34:51 +0200

Subject: Re: [squid-users] Bypass parent for site



John Halfpenny wrote:brbrHi,brbrWe have a site which doesn't like to 
go through two instances of squid for some reason. Is there a way I can bypass 
a parent for a particular url?brbrOur setup goesbrbrLAN  Squid[i] 
 Squid[ii]w/DansGuardian  NetbrbrIdeally, I would like to set Squid[i] 
to go straight out, ignoring it's parent for, say, example.com. Here is the 
line from Squid[i], anything I can do with this?brbrcache_peer 
192.168.3.5 parent 8081 0 no-query defaultbrbrThanks for any help! 
brbrJohnbrbr--junk excite banner convincing NOBODY 
followsbrbr___brJoin 
Excite! - http://www.excite.combrThe most personalized portal on the 
Web!brbrbr  brbrYou can try:brbrcache_peer 192.168.3.5 parent 
8081 0 no-query defaultbracl example dstdomain example.combralways_direct 
allow examplebrbrThanksbrEmilio C.br

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




[squid-users] Bypass parent for site

2005-06-14 Thread John Halfpenny

Hi,



We have a site which doesn't like to go through two instances of squid for some 
reason. Is there a way I can bypass a parent for a particular url?



Our setup goes



LAN  Squid[i]  Squid[ii]w/DansGuardian  Net



Ideally, I would like to set Squid[i] to go straight out, ignoring it's parent 
for, say, example.com. Here is the line from Squid[i], anything I can do with 
this?



cache_peer 192.168.3.5 parent 8081 0 no-query default



Thanks for any help! 



John



--junk excite banner convincing NOBODY follows

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




Re: [squid-users] Bypass parent for site

2005-06-14 Thread Emilio Casbas

John Halfpenny wrote:


Hi,

We have a site which doesn't like to go through two instances of squid for some 
reason. Is there a way I can bypass a parent for a particular url?

Our setup goes

LAN  Squid[i]  Squid[ii]w/DansGuardian  Net

Ideally, I would like to set Squid[i] to go straight out, ignoring it's parent 
for, say, example.com. Here is the line from Squid[i], anything I can do with 
this?

cache_peer 192.168.3.5 parent 8081 0 no-query default

Thanks for any help! 


John

--junk excite banner convincing NOBODY follows

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


 


You can try:

cache_peer 192.168.3.5 parent 8081 0 no-query default
acl example dstdomain example.com
always_direct allow example

Thanks
Emilio C.