On Wed, Mar 05, 2008, Dave Coventry wrote: > > The question then is how to query a cgi from a helper. I'd try the LWP stuff > > in Perl to talk to a cgi-bin ; what you've doen there is try to read a file, > > not call a cgi-bin. :) > > My understanding is that Squid checks the helper to carry out a check > against the IP, User, etc according to the FORMAT parameter to test > that they belong to an acl, based on OK or ERR. My script was just a > simple test against the existence of a file generated by a cgi script > called by the ACCESS_DENIED error page replacement. Ok, then the rest of the code should be ok. You can run it at the command line to see if its doing the right thing. Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -