Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Any solutions please? –  Fanar ALHAYALI Sep 8 '11 at 9:29

1 Answer 1

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

share|improve this answer
    
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. –  diegows Nov 26 '13 at 22:40

Your Answer

 
discard

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.