Re: [squid-users] Initial webpage before surfing on squid

From: Chris Robertson <crobertson_at_gci.net>
Date: Fri, 10 Apr 2009 17:22:13 -0800

Jorge Bastos wrote:
>> Ops!
>> Forgive me Chris,
>> There's the squid_session on debian too, didn't saw it, sorry.
>> I now need a bit of help on the webpage with this parameters:
>> ---
>> deny_info http://your.server/bannerpage?url=%s session
>>
>> Then set up http://your.server/bannerpage to display a
>> session
>> startup page and
>> then redirect the user back to the requested URL given in the
>> url
>> query parameter.
>> ---
>> Is there an example for this?
>>
>
> Apart from the example for this page, and how to redirect the user to the
> page he requested, it's failing with:
>
> Starting Squid HTTP Proxy 3.0: squid32009/04/10 18:17:00| Can't use proxy
> auth because no authentication schemes are fully configured.
> FATAL: ERROR: Invalid ACL: acl session external session
>
> My config (I know there's something wrong, just don't know what):
>
> ---
> external_acl_type session ttl=14400 negative_ttl=0 children=1
> concurrency=200 %LOGIN /usr/lib/squid3/squid_session
>

This should probably read...

external_acl_type session ttl=14400 negative_ttl=0 children=1
concurrency=200 %URI /usr/lib/squid3/squid_session

...since you are intending to "remember" the original URI requested.
Using %LOGIN in an external_acl_type declaration implies you are using
authentication.

> acl session external session
> http_access deny !session
> deny_info http://your.server/bannerpage?url=%s session
> ---
>

Chris
Received on Sat Apr 11 2009 - 01:22:30 MDT

This archive was generated by hypermail 2.2.0 : Sat Apr 11 2009 - 12:00:02 MDT