Forum Discussion
Stuart_Feathers
Sep 28, 2012Nimbostratus
I have also tried the following iRule which doesn't seem to work either.
when HTTP_REQUEST {
if { not ([string tolower [HTTP::uri]] starts_with "/site1") || ([string tolower [HTTP::uri]] starts_with "/site2") } {
HTTP::respond 301 Location "https://www.abc.com[HTTP::uri]"
}
}