Networking Forums

Networking Forums > Computer Networking > Linux Networking > squid problem

Reply
Thread Tools Display Modes

squid problem

 
 
Richard
Guest
Posts: n/a

 
      11-12-2003, 02:48 PM
Hii
I am using squid 2.4
I can not connect any page that's using user authentication.User
authenticaton screen appearing when if I don't use squid



 
Reply With Quote
 
 
 
 
Michael Fuhr
Guest
Posts: n/a

 
      11-12-2003, 05:37 PM
"Richard" <(E-Mail Removed)> writes:

> I am using squid 2.4
> I can not connect any page that's using user authentication.User
> authenticaton screen appearing when if I don't use squid


What exactly happens when you try to connect to a page that requests
authentication? What log entries show up in squid's access.log?
Do any errors show up in cache.log?

Does your squid configuration use anonymize_headers to remove the
Authorization header from the browser's request? If so, then the
popup that asks for your name and password would probably reappear
after each login attempt because the web server never received the
login info.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
Reply With Quote
 
Richard
Guest
Posts: n/a

 
      11-13-2003, 09:39 AM
everytime "You are not
authorized to view this page ---- HTTP 401.3 - Access
denied by ACL on resource
Internet Information Services" screen appears.
Like as if I clicked cancel button

"Michael Fuhr" <(E-Mail Removed)>, haber iletisinde şunları
yazdı:3fb26fe4$(E-Mail Removed)...
> "Richard" <(E-Mail Removed)> writes:
>
> > I am using squid 2.4
> > I can not connect any page that's using user authentication.User
> > authenticaton screen appearing when if I don't use squid

>
> What exactly happens when you try to connect to a page that requests
> authentication? What log entries show up in squid's access.log?
> Do any errors show up in cache.log?
>
> Does your squid configuration use anonymize_headers to remove the
> Authorization header from the browser's request? If so, then the
> popup that asks for your name and password would probably reappear
> after each login attempt because the web server never received the
> login info.
>
> --
> Michael Fuhr
> http://www.fuhr.org/~mfuhr/



 
Reply With Quote
 
Michael Fuhr
Guest
Posts: n/a

 
      11-13-2003, 05:04 PM
[Please don't top-post. I've moved your reply to make the text
flow easier to follow.]

"Richard" <(E-Mail Removed)> writes:
> "Michael Fuhr" <(E-Mail Removed)>, haber iletisinde şunları
> yazdı:3fb26fe4$(E-Mail Removed)...
> > "Richard" <(E-Mail Removed)> writes:
> >
> > > I am using squid 2.4
> > > I can not connect any page that's using user authentication.User
> > > authenticaton screen appearing when if I don't use squid

> >
> > What exactly happens when you try to connect to a page that requests
> > authentication? What log entries show up in squid's access.log?
> > Do any errors show up in cache.log?

>
> everytime "You are not
> authorized to view this page ---- HTTP 401.3 - Access
> denied by ACL on resource
> Internet Information Services" screen appears.
> Like as if I clicked cancel button


This sounds like a web server error, not a squid error. Have you
contacted the people that run the web server?

You said that you "can not connect any page that's using user
authentication," but how many pages have you tried? If you've only
tried pages on a single server or on a group of servers managed by
the same people, then the problem could be due to web server
configuration.

I asked this before but you didn't answer: what log entries show
up in squid's access.log when you make your requests? If squid is
denying your request then you should see something like this:

1068741536.842 20 192.168.1.2 TCP_DENIED/403 1070 GET http://www.example.com/ - NONE/- -

If the web server is denying your request, then the log entry
should look like this:

1068741884.031 50 192.168.1.2 TCP_MISS/403 358 GET http://www.example.com/ - DIRECT/172.16.3.4 text/html

Notice that when squid denies your request the status is TCP_DENIED/403
and the method is NONE/-; when the web server denies the request
the status is TCP_MISS/403 and the method is DIRECT/web-server-ip-address.

If the web server is denying your request then you'll have to talk
with the web server admins to find out more about their access
policy. Perhaps they forbid access from your squid proxy's IP
address (if it's different than where you run your browser), or
maybe squid is using anonymize_headers to strip HTTP headers that
the web server requires (e.g., the Referer header).

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Problem Pavee Linux Networking 0 05-03-2006 06:25 AM
squid server problem Pavee Linux Networking 5 04-19-2006 05:07 AM
Squid problem. mr_i_davis@hotmail.com Linux Networking 2 10-28-2005 05:54 PM
squid problem N.Gowthaman Linux Networking 1 12-18-2003 02:46 PM
Intermittent Squid problem, no responce from squid Graeme Hinchliffe Linux Networking 1 10-30-2003 12:51 PM



1 2 3 4 5 6 7 8 9 10 11