Search squid archive

Re: Initial webpage before surfing on squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux