Pachulski, Keith wrote:
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
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 acl allowtraffic url_regex -i "/etc/squid/allowtraffic.acl" http_access allow internal allowtraffic http_access deny all Chris