Sure its possible;

You'll need an ACL for the ip ranges or domain names that can access your
cache, and add it to the http_access and icp_access entries.  But be sure
NOT to add it to miss_access.

Example:

Goodguys can fetch anything (including misses),
Badguys can only fetch hits (not misses)



acl goodguys src 192.168.1.0/255.255.255.0
acl badguys src 192.168.2.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0

http_access allow goodguys
http_access allow badguys
http_access deny all

icp_access allow goodguys
icp_access allow badguys
icp_access deny all

miss_access allow goodguys
miss_access deny !goodguys




You may or may not want goodguys or badguys to request ICP queries, but
thats up to you.



>I am trying to setup a cache to only deliver local or sibling hits, but do
>nothing in the event of a miss (ie. do not make a direct or parent
>request).
>
>I'm not sure this is possible,  anyone have any ideas?
>
>
>Regards,
>Graham
>----------------------------------------------------------------
>Systems Administrator - Internet Information Group
>Graham Maltby <[EMAIL PROTECTED]>


Reply via email to