Hi,

I've had to put an instance of apache behind varnish as a redirector as I
can't think of a way of making varnish do it. Can this apache rewrite be
done in vcl?

RewriteRule  ^/(.*)/home/(.*)$  http://$1_host.example.com/$2 [P]

I've been looking at a mix of using regsub to change parts of the URL and
redirecting using a "error 750" but its becoming more complicated and using
apache is looking like the simplest solution unless I'm missing something
obvious in vcl.

Thanks,

Rob
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to