URL redirection in Squid

You can redirect any of external web traffice to the internal or on specific URL.

# vim /etc/squid/squid.conf

#create acl
acl banurl dstdomain  .youtube.com
deny_info http://toollinux.blogspot.in/ all

#apply acl
http_reply_access deny banurl all
















# service squid reload