rewrite redirects

Kristian Lyngstol kristian at
Wed Oct 21 12:50:03 CEST 2009

On Fri, Aug 21, 2009 at 03:52:12PM +0200, Guenter Wildmann wrote:
> Hello!
> Can varnish rewrite redirects from the backend (equivalent to
> ProxyPassReverse in apache)?
> If so, how is it done?

Assuming the redirects are 302/301s; yes.

Check for them in vcl_fetch, then do the magic there, but you may have to
elaborate as to what precisely you want.

Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list