On 8/14/12 9:19 PM, adi.siswanto wrote:
sorry, question again, I found weird habit
after using ATS :
- map foo.bar.com --> bar.com/foo    --> OK
- map xyz.com   --> foo.bar.com              --> OK

but when I access xyz.com/abc it won't go to bar.com/foo/abc, but
it's always going to xyz.com/foo/abc. Any suggestion how to solve it?

my remap.conf (where x.x.x.x is bar.com)
map / http://x.x.x.x:8001
map xyz.com     http://x.x.x.x:8001/foo

The map / rule has to come last. First match wins, / matches everything.

-- leif

Reply via email to