Ema
Aug 23, 2019Nimbostratus
Irule for www removal on https
I would like to remove the www from the url but is having some issues with the code on one of my vip. I currently have 2 vips: 1 is for http redirection to https with that includes the www ...
- Aug 29, 2019
Hi,
Can you try this iRule in browser's incognito mode?
when HTTP_REQUEST { if {[string tolower [HTTP::host]] starts_with "www."}{ log local0. "hostname = [HTTP::host]" HTTP::redirect "https://[substr [HTTP::host] 4][HTTP::uri]" } }