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://abc.domain.com/home
Thanks for the help in advance.
- hoolio
Cirrostratus
If 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" } }
- Wasay_Taha_9914
Nimbostratus
Great. That worked perfectly.
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