This task can be done using the url_regex, srcdomain and dstdomain. url_regex checks the url for matching characters.
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl our_network src 192.168.200.0/24
acl facebook url_regex [i] .facebook.com #[i] means ignore case
http_access deny facebook
http_access allow our_network
http_access deny all
0 Comments