You can also use url_regex -i acl bad_sites url_regex -i "/etc/squid/bad_sites.txt" http_access deny bad_sites Cheers!. Lucas Brasilino wrote: >> Hi, > > Hi > >> How do i block HTTPS sites? >> >> I am using this I squid.conf: > > acl CONNECT method CONNECT > acl bad_sites dstdomain "/etc/squid/bad_sites.txt" > http_access deny bad_sites > http_access deny bad_sites CONNECT > > > This should work.... > > regards > Lucas Brasilino > >> >> # cat bad_sites.txt >> .youporn.com >> .rapidshare.com >> .googlevideo.com >> .photobucket.com >> .dailymotion.com >> .logmein.com >> .megavideo.com >> .audio.uol.com.br >> .imo.im >> # >> >> But I am able to connect https://imo.im >> I only got access denied when I access http://imo.im >> >> How do I block it? >> >> thanks >> > > -- Alejandro Bednarik XTech - Soluciones Linux para Empresas (011) 5219-0678 alejandro@xxxxxxxxxxxx