Forum Discussion
Pete_Paiva_7147
Nimbostratus
Sep 19, 2012http to http redirection
HTTP Pool:
10.1.1.1 14000
10.1.1.2 14000
HTTP VIP:
10.0.0.1:80
HTTPS Pool
10.1.1.1 14001
10.1.1.2 14001
HTTPS VIP:
10.0.0.1:443
I have a request to redirect https://10.0.0.1 gets mapped to
Thanks!
2 Replies
- Kevin_Stewart
Employee
HTTP VIP:
Use the built-in HTTP-to-HTTPS iRule.
HTTPS VIP:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect "/identity"
}
}
Questions:
1. Do you need to have the port appended to the HTTPS host value?
2. Do you want to redirect the user to /identity, or transparently change the URI on ingress? - Pete_Paiva_7147
Nimbostratus
Hi Kevin,
Thanks so much I'll try that.
To answer your questions:
1. Yes, the application owner is requesting that the port be appended.
2. Redirecting the user to /identity should suffice.
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