Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed SquidMan 3.1 on my Mac, and it works fine. But I really need it to redirect some of the traffic using my hosts file, and it seems to be ignoring it no matter where I put it.

So far I've tried:

  • Adding a hosts_file /etc/hosts directive on the configuration template via the SquidMan UI.
  • Adding the same directive on the configuration file located at /usr/local/squid/etc/squid.conf
  • Creating a copy of my hosts file in /usr/local/squid/etc/ and updating the directives to match the new location.

What am I doing wrong?

share|improve this question

The location on the hosts file on Mac OS X is /private/etc/hosts

share|improve this answer
Yes, /etc/ is the same as /private/etc/ – luchomolina Apr 3 '12 at 20:37
@luchomolina technically its not, /etc is just a symlink that has been hidden w/ chflags hidden – Hawken Apr 21 '12 at 2:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.