cancel
Showing results for 
Search instead for 
Did you mean: 

irule for redirect

mikey_webb
Cirrus
Cirrus

i have a redirect based on country which works

www.abc.com if in uk redirects to uk.abc.com

 

however for a single certain uri would like to retain it for example

 

www.abc.com\books\12 would like to redirect this to uk.abc.com\books\12

 

can anyone help, give pointers how to do

2 REPLIES 2

Hi mikey_webb,

 

Insert this command in the redirect line

... HTTP::redirect "https://uk.abc.com[HTTP::uri]" ...

 

mikey_webb
Cirrus
Cirrus

great - many thanks eaa