VCL and Non-Existent Backend Objects

Ask Bjørn Hansen ask at develooper.com
Fri May 11 11:30:35 CEST 2007


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.

	http://lists.danga.com/pipermail/perlbal/2007-May/000441.html
	http://code.sixapart.com/svn/perlbal/trunk/doc/reproxying.txt



  - ask

-- 
http://develooper.com/ - http://askask.com/





More information about the varnish-misc mailing list