[squid-users] redirect IP request to special cache_peer

SLeipold schneelei at gmail.com
Wed Jun 1 06:20:56 UTC 2016

Dear squid-users,

at first:
thanks for adding me to your mailing list.
My question is about the cache_peer configuration directive.

In my config I have to use three cache_peer proxies:

To choose the cache_peer on the basis of the URL its responsible for I use
the cache_peer_access directive and created a .txt-file with the allowed
urls. This is working fine.

But when I request a IP address "" this is not working. For

http://test.best works over the responsible cache peer isnĀ“t working

The configuration looks the following:

acl parent1 url_regex -i "/etc/squid/parent1.txt

content of parent1.txt:
^http://test.best --> working
^ --> not using the parent proxy and tries direct access.

cache_peer parent 8080 name=parent1
cache_peer_access parent1 allow parent1
cache_peer_access parent1 deny all

Can you tell me where the fault is?

Kind regards and thanks for any help!

View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/redirect-IP-request-to-special-cache-peer-tp4677758.html
Sent from the Squid - Users mailing list archive at Nabble.com.

More information about the squid-users mailing list