Search squid archive

Re: Disable "Subdomain" from being put through the Accelerator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux