[squid-users] Authenticate and 407 errors

From: Gareth Hastings <gareth@dont-contact.us>
Date: Sat, 19 Jul 2003 15:13:59 +0100

I've google and the FAQ and can't seem to find a definate answer to this
problem. I have a linux box running Squid Cache: Version 2.4.STABLE7 and
these are the relavent config options

authenticate_program /usr/lib/squid/ncsa_auth /etc/squidpass
authenticate_children 5
authenticate_ttl 1 hour

acl pass proxy_auth REQUIRED
acl daytime time 08:00-23:00

http_access allow daytime
http_access allow pass

http_access allow localhost
http_access deny all

What I'm trying to do is allow access to the proxy during the times
08:00 and 23:00 and then any other times require an authenticated user.
Now when I try connecting to a website outside the hours listed above I
get prompted for a password. When I enter one I then get a "Page not
found error". I've tried this using IE5.5 and IE6sp1 (read the faq and
applied the patch from MS) and still get the same problem. Even if I
refresh 10 times it makes no difference. These are the errros I get in
my access.log

1058621338.363 3 172.24.200.10 TCP_DENIED/407 1311 GET
http://www.google.com/ jennifer NONE/- -
1058621347.849 3 172.24.200.10 TCP_DENIED/407 1308 GET
http://www.yahoo.com/ jennifer NONE/- -

Now I have checked the user squid has access to both the password file
and the ncsa_auth program by trying it from the command line which works
fine so I'm lost.

Any ideas anyone?

Thanks

Gareth
Received on Sat Jul 19 2003 - 08:10:43 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:12 MST