Hi there,
My squid is using a parent cache including the option prefer_direct.
However I do not want squid to send requests in the form http://n.n.n.n/
to the parent where 'n' is a number. I am setting up an acl in the form of
acl by_ip url_regex http://[\d,.]\{8,15\}/
cache_peer my_parent_cache parent 3128 3130 prefer_direct
cache_peer_access my_parent_cache deny by_ip
cache_peer_access my_parent_cache allow all
before i change the squid configuration I need to make sure about two
things. First does the regex look OK? I have read the meta character
\{i,j\} may not be supported by all applications. Is it supported by
squid-2.4 in linux platform?
The other question I have is that the above block of acl can be placed
anywhere in squid.conf?
S. Mokhtari
Received on Fri Feb 20 2004 - 23:05:49 MST
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST