Re: [squid-users] Authentication Hack

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 5 Mar 2008 21:26:56 +0900

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 -
Received on Wed Mar 05 2008 - 05:12:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:04 MDT