Re: [squid-users] session helper issue

From: Vyacheslav Maliev <vmaliev_at_gmail.com>
Date: Tue, 28 Feb 2012 00:19:58 +0400

2012/2/27 Andrew Beverley <andy_at_andybev.com>:
>> >> >>>  I configured my splash like described here:
>> >> >>> http://wiki.squid-cache.org/ConfigExamples/Portal/Splash. I have
>> >> >>> chosen second example (Active Mode) and adopted it to my squid 3.0
>> >> >>> version (there is squid_session helper instead ext_session_acl). So
>> >> >>> when i go to matched URL session is not starting. Only after i go to
>> >> >>> matched URL and do squid -k reconfigure everything goes well.
>> >> >>>
>> >> >>> Is there any method to renew squid automatically?
>
> [...]
>
>> Here is my config for session helper:
>>
>>
>> # Set up the session helper in active mode. Mind the wrap - this is one line:
>> external_acl_type session concurrency=3D100 ttl=3D3 %SRC
>> /usr/lib/squid/ext_session_acl -a -T 10800 =A0-b
>> /usr/lib/squid/session.db
>
> I think this may be the problem. You are logging the sessions to the
> file session.db here (which will use the old session code without
> synchronisation between threads)...
>
>>
>> # Pass the LOGIN command to the session helper with this ACL
>> acl session_login external session LOGIN
>>
>> # Set up the normal session helper. Mind the wrap - this is one line:
>> external_acl_type session_active_def concurrency=3D100 ttl=3D3 %SRC
>> /usr/lib/squid/ext_session_acl -a -T 10800 =A0-b
>> /usr/lib/squid/sessions/
>
> ...But you use the directory /sessions/ here.
>
> Try changing the first one to /usr/lib/squid/sessions/
>
> Granted this is as per the example, which is probably also wrong. Give
> it a go, and if it works, I'll correct the example on the wiki.
>
> Andy
>
>

You`re right! There is should be directory /sessions/ in both cases.
Thanks! Now it is working
Received on Mon Feb 27 2012 - 20:20:34 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 28 2012 - 12:00:10 MST