Search squid archive

Re: session helper issue

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

 



> >> >>>  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




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

  Powered by Linux