Forum Discussion
Wasay_Taha_9914
Nimbostratus
Jun 11, 2010HTTPS to HTTPS redirect
Hi,
I wanted to know if we can write a iRule for HTTPS to HTTPS redirection. Specifically what I am looking for is if HTTPS://abc.domain.com is requested then it needs to redirected to HTTPS://...
hoolio
Cirrostratus
Jun 11, 2010If you configure the VS that abc.domain.com resolves to with a client SSL and HTTP profile, you can use an iRule like this to redirect / to home:
when HTTP_REQUEST {
if {[HTTP::path] eq "/"}{
HTTP::redirect "https:/abc.domain.com/home"
}
}
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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