I am working on OSX and I want to block access to an individual URL (a twitter profile) in /etc/hosts
.
Is this possible? I've tried adding:
127.0.0.1 twitter.com/mypath
127.0.0.1 www.twitter.com/mypath
and then running sudo dscacheutil -flushcache
, but it doesn't seem to do anything, I can still see the page.