Mohammad_1363
Jun 03, 2024Altocumulus
Redirection iRule is not working
Hello
I have a simple redirection request, I created a test VIP and redirection is working fine but when i apply it on the actual VIP the redirection is not happening
Both of the below iRules working fine with test VIP but not with actual one.
when HTTP_REQUEST {
HTTP::uri https://qa.soccer.com/
HTTP::redirect "https://soccer.web.com/#/cast/qa"
}
when HTTP_REQUEST {
if { [HTTP::host] eq "qa.soccer.com/" } {
HTTP::redirect "https://soccer.web.com/#/cast/qa"
}
}
The only difference that I could see between the actual VIP and test VIP is the below option
test VIP is in common partition
Partition / Path | Common |
The actual VIP is on common partition and the path is qa.soccer.com
Partition / Path | Common/qa.soccer.com |
I was wondering if you could help me here.
Thanks