Forum Discussion
Dbow_21284
Nimbostratus
Apr 26, 2010Need to Redirect HTTPS Request to Another HTTPS Request
Hello,
I need to do the following:
Redirect https://www.whatever.com to https://www.suntin-else.com ... I cannot find an iRule to do this. It is easy to do the HTTP to HTTPS, b...
The_Bhattman
Nimbostratus
Apr 27, 2010Hi Dave,
if you are already termining the SSL then it should be as simple as the following
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.whatever.com") and ([HTTP::uri] eq "") } {
HTTP::redirect "https://www.suntin-else.com"
}
}
I hope this helps
Bhattman
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