varnish backend redirection based on url
shib4u at gmail.com
Wed Jul 27 13:34:17 CEST 2011
I have a main website running which has now been translated to different
languages. The different language sites are running on different backend
servers. I want to redirect/distribute traffic to backends based on the url
without rewriting the url/host.
e.g www.domain.com/en -> backend1
www.domain.com/hi -> backend2
www.domain.com/ma -> backend3
www.domain.com/ch -> backend4
www.domain.com/ja -> backend5
The content should be served on the url www.domain.com/ja, i do not want to
rewrite the domain as ja.domain.com. Is this possible in varnish or should i
use mod_proxy/Apache ?
while ( ! ( succeed = try() ) );
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc