Re: [squid-users] couple of questions ...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 08 May 2001 01:30:30 +0200

Ilia Chipitsine wrote:

> I enabled "authenticate_program" in squid.conf. It works !
> It asks username/password and checks whether the pair is correct.
> However, according to access.log, the first requested HTML page
> is "fetched" even if password was incorrect. How can I fix it ?
> The requested page remains in cache, but I don't want my users
> to kill my cache such way.

Are you sure?

My bet is that these log entries reads TCP_DENIED/407 ... NONE/-. Such a
line tells that the client tried to request the resource, but was not
allowed since the user had not yet authenticated himself to the cache.

> How can I allow users to get documents from the cache without
> being "authenticated" ?

By not requiring authentication for those requests.

> and, finally, how can redirect access.log to SYSLOG ?
> or, probably "pipe" it to another programme (SYSLOG, however is
> preferrable)

Use the source code and implement what you need.

--
Henrik Nordstorm
Squid Hacker
Received on Mon May 07 2001 - 17:38:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:51 MST