> On Wednesday 03 July 2002 22.12, ChrisHoover@safety-kleen.com wrote:
> > Sorry about my previous message, it looks like outlook messed up
> > again.
> >
> > Anyway, I need to know if there is any way to have squid run a
> > program based upon it finding a certain set of criteria?
> > Basically, I have a request to run program x every time a certain
> > website is accessed and/or a certain phrase if found in the web
> > page?
>
> To the first (certain website), yes indirectly, by having a
> redirector
> helper that watches for requests for such sites and runs program x
> every time a match is found.
>
> To the second (phrases found in the page) no. Squid does not
> look into
> the content and there is no hooks allowing you to do so.
The iCognito PureSight content filtering solution does so by
using a redirector that causes squid to use a kind-of-parent-cache
which is the content engine itself, which then in turn
uses squid to do the upstream fetching.
A bit messy but it seems to work.
-- /kinkieReceived on Thu Jul 04 2002 - 02:56:14 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:01 MST