How do I block specific places on a web site's domain? For instance, how would you block google.com/news, without blocking google.com or any other subdirectories? I've already tried using the /etc/hosts file, to no avail.

This is for me. I need to shut out web distractions on my work computer, without limiting my ability to get stuff done. Any help or advice would be greatly appreciated.
Try Parental Controls

one caveat, the account you want to control cannot be a administrator of the machine in order for this to work.


open System Preferences &gt; Parental Controls
Unlock it using the lock at the bottom left of the dialog. and entering an admin password.
Enable Parantal Controls
Choose an Account to be controlled by clicking Enable parental contorols in System Preferences &gt; Accounts for the user that needs control.
Next click Open Parental Controls...
Then select the Web tab and choose Try to limit access to adult websites automaticly then click Customize...
Add any sites you do not want access to such as http://google.com/news to the Never allow these websites section.


This should work with any browser in that account.