How do I edit my hosts file?

newdude

Registered
On my PC, I was able to just search for "hosts", go into the file, and add websites that I wanted to block access to. How do I do the equivalant on os x?
Thanks,
J
 
Maybe like this;

In httpd.conf

Order allow,deny
Allow from all
Deny from 24.5.62.61
Deny from 24.59.198.167
Deny from 24.5.103.42
Deny from 24.217.190.237
 
i have no idea what http config is....if you could, give me step by step instructions to block a website....say i wanted to make it so i could not access www.google.com, what would i do? thanks for your patience.
 
Back
Top