Forum Discussion

T_Rajneesh's avatar
T_Rajneesh
Icon for Nimbostratus rankNimbostratus
Apr 18, 2019

Url Redirect is not working for chrome. But it works find in IE.

Url Redirect is not working for chrome. But it works fine in IE. It is also working fine on mobile browsers.

 

the irule attached to VIP.

 

when HTTP_REQUEST {

 

set host [string tolower [HTTP::host]] set uri [string tolower [HTTP::uri]]

 

if { $host == "; && $uri == "/" } { HTTP::redirect "http://www.xyz.com/en-us/test"; } elseif { $host == "; && $uri == "/support" } { HTTP::redirect "http://www.xyz.com/en-us/test-test-faqs"; } }

 

kindly help me to understand what is missing or any correction in irule.

 

1 Reply

  • Did you try upgrading the browser to the latest version on all the types ? Is the iRule attached to a HTTPS/SSL VS - may be certain ciphers are not being accepted and hence, the connection doesn't work. Chrome tends to be a bit more security conscious in terms of implementation and this could potential break the connection.

     

    I would recommend logging the connection using "log local0." in the iRule and checking the logs to see if there is a reason for the connection to be dropped.