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...
Dbow_21284
Nimbostratus
Apr 27, 2010Ok I get what you guys are laying down now. I created the iRule and its the only iRULE on my HTTPS VIP, but now all traffic just hangs. The browser just churns and churns when I apply this iRULE. The code is below. Even if you put the exact URL for the new domain I want to preference. However, as soon as I go onto the VIP and remove this iRULE the browser immediately pops up the site.
What am I doing wrong?
Thanks guys. Dave
when HTTP_REQUEST {
if { [HTTP::host] == "olddomainname" } {
HTTP::redirect "https://newdomainname[HTTP::uri]" }
}
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