LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-28-2012, 01:46 PM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
always_direct squid


hi,

i configured proxy_auth for my squid working fine. i just want to make gmail.com open for every one with out authentications so i configured direct_always as below.

acl job url_regex naukri.com
always_direct job allow
http_access job allow

problem is when i enter www.gmail.com in the browser and hit enter it prompts for authentication, it click esc button again and again with out giving username and password, gmail page opens slowly one item by one item once page loaded completely usernamd and password dilogue box disappears. why it's happening like this. i want to the web page opened directly with out appearing this username and password.

few months ago i spent lot of time and asking experts like you, i did below things

by passing authentication
one site for one user
direct access
blocking sites for all and few users.

but i lost the configuration file.

thing is problem is not with the way i write acl. but the place i put the acl.


please help me. thank you.
 
Old 02-28-2012, 02:04 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by subbarao_ganeshna View Post
hi,
i configured proxy_auth for my squid working fine. i just want to make gmail.com open for every one with out authentications so i configured direct_always as below.

acl job url_regex naukri.com
always_direct job allow
http_access job allow

problem is when i enter www.gmail.com in the browser and hit enter it prompts for authentication, it click esc button again and again with out giving username and password, gmail page opens slowly one item by one item once page loaded completely usernamd and password dilogue box disappears. why it's happening like this. i want to the web page opened directly with out appearing this username and password.

few months ago i spent lot of time and asking experts like you, i did below things

by passing authentication
one site for one user
direct access
blocking sites for all and few users.

but i lost the configuration file. thing is problem is not with the way i write acl. but the place i put the acl.
No idea what you're saying. Are things WORKING, but slow? Not working at all? WERE working, and now they're not? If you had things working, and 'lost' the configuration file, then restore it from backup. If the solutions were provided to you in previous threads, then go look at your old threads...they're still there.
 
Old 02-29-2012, 05:40 AM   #3
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Original Poster
Rep: Reputation: 1
hi tbone,

sorry for that. What i mean to say is i written following ACL to make naukri.com open for every one without authentication.

Quote:
acl job url_regex naukri.com
always_direct job allow
http_access job allow
but when user try to open naukri.com still asks for username and password. if user click escape button once, few lines on the naukri.com webpage load, still prompts for username and pass. if user clicks escape few more , so .. on. always_direct is not working properly. it suppose to open naukri.com with out asking password isn't it? but here not working properly.

hope i gave you details.

thank you.
 
Old 02-29-2012, 07:15 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by subbarao_ganeshna View Post
hi tbone,
sorry for that. What i mean to say is i written following ACL to make naukri.com open for every one without authentication. but when user try to open naukri.com still asks for username and password. if user click escape button once, few lines on the naukri.com webpage load, still prompts for username and pass. if user clicks escape few more , so .. on. always_direct is not working properly. it suppose to open naukri.com with out asking password isn't it? but here not working properly.
Well, I answered your ACL question in another thread, and you never posted a follow up...have you actually read any of the ACL documentation you've been pointed to???

The rule you've posted seems incomplete; again, see the Squid docs and your other threads about ACL's, and apply what you've been told.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[squid] problems with mail.live.com and always_direct allow kloenie Linux - Networking 1 12-02-2011 01:32 AM
Squid Redirect specific domain to an Secondary (External) Squid Proxy Zxarr Linux - Server 2 04-20-2010 12:50 PM
Squid 2.6 always_direct problem ubuntu777 Linux - Server 4 08-07-2008 08:07 AM
never_direct deny all vs. always_direct deny all simplyrahul Linux - General 1 02-16-2005 02:42 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration