Forum Discussion
hooleylist
Jul 20, 2011Cirrostratus
You could use an HTTP class or iRule on the existing 10.100.10.10:80 VS which matches on the requested host header value if it equals any of your five domains. The action on the HTTP class or iRule would be to redirect to https://[HTTP::host][HTTP::uri].
Here's an iRule example:
when HTTP_REQUEST {
switch [string tolower [HTTP::uri]] {
"www.example.com" -
"www.example.org" -
"www.example.net" {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
}
Aaron