Hi All
here's an interesting one for someone to grind there teeth on
i have 2 squid proxy's, proxy1 and proxy2
i want all traffic to go through proxy1 except video sites like youtube
the following config only 50% works with some youtube ect stuff still going through proxy1, (i.e. i see youtube data on proxy1 and proxy2)
Code:
acl youtube dstdomain .carins.com.au
acl youtube dstdomain .youtube.com
acl youtube dstdomain .googlevideo.com
acl youtube dstdomain .video.google.com
acl youtube dstdomain .video.msn.com
acl youtube dstdomain .video.news.com.au
acl youtube dstdomain .movies.apple.com
acl youtube dstdomain .videos.theonion.com
acl youtube dstdomain .videoegg.com
cache_peer 10.0.0.27 parent 8080 0 no-query no-digest no-netdb-exchange default
cache_peer_access 10.0.0.27 allow youtube
always_direct deny youtube
always_direct allow all
never_direct allow youtube
cheers
Steve