Forum Discussion
Jericho_Gutierr
Nimbostratus
Apr 18, 2006http redirect to https for same V-server
Hi -
I'm looking for a simple, elegant solution for this. I have the following existing iRule for https redirect for one client:
when HTTP_REQUEST {
if { [HTTP::host] ends_...
Colin_Walker_12
Apr 18, 2006Historic F5 Account
What you'll probably want to do is create a data group that stores all of the hosts that you want to redirect. This way you can use the matchclass command to search through the class and determine whether or not the request should be redirected.
There's a thread showing how the matchclass command can be used here: Click here
For your purposes you should be able to create a data group with each host in it, and instead of directing to a specific pool if the matchclass command returns true, just perform the HTTPS redirect.
HTH,
Colin
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
