iRule not adding www (only in chrome)
I have two VS one that is listening on 80 and the other on 443.
There's an iRule applied to the 80 VS called "redirectSecureURI" which is basically referencing a data group list that has a bunch of secure strings.
Example the data group list may have a string record for "/wife" so that when someone types happy.com/wife it uses https.
There's also another iRule applied to the 80 VS, example below, which adds the "www" if it doesn't exist:
when HTTP_REQUEST { if { [HTTP::host] equals "happy.com" } { HTTP::respond 301 Location ".[HTTP::host][HTTP::uri]" } }
My problem is that ONLY in chrome when I go to happy.com/wife which is supposed to be secure and also add the www it literally doesn't even load the page.
In every other browser it works.
Has anyone seen this before?