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 Fri, 10 Aug 2012 20:02:57 GMT
On 08/09/2012 09:02 AM, adi.siswanto wrote:
> currently I only tried for
> map  http://*.bar.com/	http://bar.com:8001/*
> reverse_map http://bar.com:8001/* http://*.bar.com/
>

This is not valid syntax. Read the docs, or the example from the default 
remap.config. And yes, if you really want to match on *.bar.com, you 
should either use regex map, or map on the wildcard (/). E.g. the 
following would probably do what you want (assuming you only have bar.com):

     map / http://bar.com:8001


-- leif


Mime
View raw message