Re: [squid-users] squid_session and authentication schema

From: Chris Robertson <crobertson_at_gci.net>
Date: Fri, 15 Aug 2008 18:33:25 -0800

Leonardo Rodrigues Magalhães wrote:
>
> Hello Guys,
>
> I'm trying to setup squid_session exactly like squid_session.8
> manpage, just for testing it. After putting example configuration on
> squid.conf, i got the following error during reconfigure:
>
> 2008/08/15 14:50:55| Can't use proxy auth because no authentication
> schemes are fully configured.
> FATAL: ERROR: Invalid ACL: acl session external session
>
> i really dont have any authentication schema configured.
>
> Question is: is some authentication schema required for using
> session external ACL ???
>
> i'm using squid 2.7 stable 4 and this is what i'm putting on
> squid.conf:
>
> external_acl_type session ttl=300 negative_ttl=0
> children=1 concurrency=200 %LOGIN /usr/bin/squid_session

By including the %LOGIN argument here, you are inferring the use of
authentication (how else are you going to get the login information to
fill the %LOGIN variable).

> acl session external session
> http_access deny !session
> deny_info http://www.mysite.com.br/session.html
>
> (session.html is just a plain page, just for testing session
> capabilities)

Chris
Received on Sat Aug 16 2008 - 02:33:33 MDT

This archive was generated by hypermail 2.2.0 : Sat Aug 16 2008 - 12:00:03 MDT