trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: subdomain
Date Wed, 15 Aug 2012 14:40:53 GMT
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


Mime
View raw message