You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by "Ye, Hong" <Ho...@cable.comcast.com> on 2014/08/18 15:58:30 UTC

Re: Question about configure reload for "map" rule

+ Dev team

On 8/18/14, 9:48 AM, "Ye, Hong" <Ho...@cable.comcast.com> wrote:

>Hi Leif,
>
>I am currently using ATS 4.0.1 for URL redirect. ³traffic_line -x² can
>reload configuration for ³redirect² rule.
>But for ³map² rule, I have to bounce the service. I thought I asked you
>before and it is current behavior but
>I forgot if you had plan to improve it. (I thought so but cannot be sure).
>
>Anyway, could you please let me know? I am evaluating the latest version
>for upgrading.
>
>Here is what I have in my remap.config:
>
>redirect http://cehix.com http://www.cehix.com
>
>map http://cehix.com http://cehix.com
>@plugin=/libexec/trafficserver/regex_remap.so
>@pparam=/etc/trafficserver/regexmap/cehix.com.reg
>
>
>cat cehix.com.reg
>^/maintenance(.*) http://www.vehix.com @status=301
>^/ http://www.vehix.com @status=301
>
>
>
>(I am not sure why I have to have the first "redirect" rule before ³map²
>in remap.config. Supposed the last config in
>cehix.com.reg will do the same. But it does not work all the time. I got
>bitten couple of times)
>
>
>
>Best Regards
>
>Hong Ye
>DNS, Product Engineering
>Comcast National Engineering & Technical Operations
>Desk:    215-286-4488  Cell:     267-273-8368
>
>
>
>
>
>
>
>
>