[squid-users] Squid Reverse Proxy with regex matching

From: Pachulski, Keith <kpachulski_at_pencor.com>
Date: Thu, 27 Aug 2009 11:15:41 -0400

I`m working on setting up squid to act as a reverse proxy on Solaris 10. The reverse proxy part is working fine. However I want to be able to control the types of traffic that is passed through the reverse proxy to only allow what I want. This part I have had 0 success with. Can someone please send me a template for what the setup would like look for doing regex pattern matching to only allow certain patterns and deny all other traffic. Here is a copy of the config as I have in there now for the proxy:

cache_peer X.X.X.X parent 80 0 no-query originserver name=servername cache_peer_access servername allow internal cache_peer_access servername deny all acl internal dstdomain some.internal.server http_access allow internal

Attempted to do the following with no luck:

acl allowtraffic url_regex -i "/etc/squid/allowtraffic.acl"
http_access allow allowtraffic internal
http_access deny all
Received on Thu Aug 27 2009 - 15:15:49 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 28 2009 - 12:00:03 MDT