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

2007-03-15 Thread Chris Robertson

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


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

2007-03-12 Thread Jeremy Lardon

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.

--
Jérémy Lardon
Laboratoire DIOM, équipe SATIn - Doctorant
04 77 48 50 34



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

2007-03-12 Thread Shane A. Froebel
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