-1

I have squid proxy and I'm using auth_param basic program is ncsa_auth so I want the user access sites like google.com and yahoo.com without ask them logon which is mean when users type google.com in browser the site will be opened immediately without user/password by the way others site the user will access it normally with user/password .Thank you advance.

0

You should add an acl for the permited addresses on top of your auth lines in squid.conf, i.e for google: acl GOOGLE dstdomain google.com http_access allow GOOGLE

That should do it. Remember to add this lines before any auth lines in squid.conf

  • MAT I have already did it but even I gave permit access for google.com squid also ask users to login and when they pressed cancel it works but every click asking so it's really disturbing the users do you have another solution?Thanks – Fanar ALHAYALI Sep 5 '11 at 7:14
  • That's because there are other domains involved. Have a look at your access.log and you'll see requests for others domains when you access to Google. – Diego Woitasen Nov 26 '13 at 22:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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