Yeh unfortunately the below can never work. It’s a known flaw in the design. A 
matching “map” rule always wins :/.

Your best bet is to use a plugin, for example the regex_remap can do this. Do 
this on the entire host, and use matches for the ones you want to redirect 
first, and then catch all for the main map.

— Leif 

> On Apr 8, 2019, at 03:09, Vasanth Mathivanan <[email protected]> 
> wrote:
> 
> Hi all ,
>  
> I have to given redirect entry on remap rule for redirect 
> 10.137.x.x:8004/hello  to 10.137.x.x:8004   but not worked for me , don’t 
> know where was the mistake from there. I will be given exact syntax below 
> here .
> 
> redirect http://10.137.x.x:8003/hello  http://10.137.x.x:8004
> map          http://10.137.x.x:8004/      http://192.168.y.y
> 
> 
> I need an exact syntax of redirect mapping
>  
>  
> Thanks
> ___Vasanth M
>  
> Sent from Mail for Windows 10
>  

Reply via email to