cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect Issues

bcarreker
Cirrus
Cirrus

I have a redirect profile set up to perform URI translations. It is set to translate:

 

https://abc.com to https://def.com

 

This rule works, but it works both ways. Not only does abc translate to def, but def can redirect to abc. The customer does not want this to work both ways. Any way I can disable "def" from redirecting to "abc"?

1 REPLY 1

Samir
Nacreous
Nacreous

First disable redirection on def.com vip which is returning to abc.com

And apply iRule redirection on abc.com to def.com vip.

when HTTP_REQUEST { if { [HTTP::host] equals "abc.com"} { HTTP::redirect "https://def.com" } }