An example for a helper in python.
You will need to remove the whole memcache stuff and this is the basic 
structure:
http://wiki.squid-cache.org/EliezerCroitoru/SessionHelper/Python


----
http://ngtech.co.il/lmgtfy/
Linux System Administrator
Mobile: +972-5-28704261
Email: elie...@ngtech.co.il


From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of O?uz ?smail Uysal
Sent: Sunday, January 22, 2017 11:21 AM
To: squid-users@lists.squid-cache.org
Subject: [squid-users] external acl helper

Can I use a python script as external acl helper ? I have tested it quickly by 
adding these lines to squid.conf:

external_acl_type python %SRC /usr/bin/python ~/rekt.py
acl external_acl_helpers external python
http_access allow external_acl_helpers

And this is rekt.py:

#!/usr/bin/env python
print "OK"

As I sadly expected it did not work after restarting squid. Excuse my 
inadequate knowledge guys, how can I do this ?

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to