Re: [squid-users] Disable "Subdomain" from being put through the Accelerator

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 15 Mar 2007 11:13:09 -0800

Jeremy Lardon wrote:
> Shane A. Froebel a écrit :
>> By default, we have *.battlestarwiki.org gone through squid. However,
>> we like to remove blog.battlestarwiki.org from being stored in squid.
>> How can this be done...
>>
>> --- Shane
>>
> Seems you can use "cache deny" command in the squid.conf
>
> something like :
> ----
> acl blog url_regex blog.battlestarwiki.org
> cache deny blog
> ----
>
> Hope this help.
>

This would be a better fit for a dstdomain acl...

acl blog dstdomain blog.battlestarwiki.org
cache deny blog

That way you are not wasting resources performing unnecessary regular
expression comparisons.

Chris
Received on Thu Mar 15 2007 - 13:13:16 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT