Squid - run script on connection


Recommended Posts

hello (yes i have two squid threads going in quick succession) 

 

I wanted to know if there is anyway to execute a script of anykind (bash, php, etc) when a request is made via the proxy.... so for example:

 

 

USER_REQUEST --> PROXY { EXEC SCRIPT} --> WEBSITE/complete request once script is run

Link to comment
Share on other sites

even though i found some information half an hour I shall put what i have found so far to keep my little neowin squid library building...

 

 

I am going to use a squid  http://wiki.squid-cache.org/Features/Redirectors#Using_an_HTTP_redirector

 

http redirector and redirect it to a python script (been waiting to use some good ole python)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.