Hi,<div><br></div><div>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.</div>
<div><br></div><div>e.g <a href="http://www.domain.com/en">www.domain.com/en</a> -> backend1</div><div><a href="http://www.domain.com/hi">www.domain.com/hi</a> -> backend2</div><div><a href="http://www.domain.com/ma">www.domain.com/ma</a> -> backend3</div>
<div><a href="http://www.domain.com/ch">www.domain.com/ch</a> -> backend4</div><div><a href="http://www.domain.com/ja">www.domain.com/ja</a> -> backend5</div><div><br></div><div>The content should be served on the url <a href="http://www.domain.com/ja">www.domain.com/ja</a>, i do not want to rewrite the domain as <a href="http://ja.domain.com">ja.domain.com</a>. Is this possible in varnish or should i use mod_proxy/Apache ?</div>
<div><br></div><div>TIA.</div><div><br clear="all">ShiB.<br>while ( ! ( succeed = try() ) );<br>
</div>