VCL and Non-Existent Backend Objects

James Quacinella james at nyi.net
Mon May 14 19:33:20 CEST 2007


Ask Bjørn Hansen wrote:
>
> On May 11, 2007, at 1:55 AM, Dag-Erling Smørgrav wrote:
>
>> There was also some talk at some point of adding some kind of "policy
>> check" functionality - the ability to perform a secondary HTTP request
>> from VCL code, e.g. to check a user's credentials before serving a
>> cached document which requires authorization, rather than just passing
>> the entire request on to the backend.
>
> Perlbal does this by having the first backend return a special 
> "reproxy" header that Perlbal then uses to do the request again to 
> another backend.

Thats pretty neat. Too bad the LB software I'm using doesn't really 
support that (at least not now).

-- james




More information about the varnish-misc mailing list