Forum Discussion
J__Warner_48356
Jun 06, 2012Nimbostratus
https to https with VIP as the host
Redirect all traffic coming to New IP(12.29.100.200) or blah.com or developer.blah.com to https://www.blah.com with carry forwarding the folder/paramet...
hoolio
Jun 06, 2012Cirrostratus
Hi,
If you want to make sure all requests to the pool are done with a hostname of www.blah.com, you could use something like this:
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] ne "www.blah.com"}{
HTTP::redirect "http://www.blah.com[HTTP::uri]"
}
}
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects