Forum Discussion
Chadwick_McInni
Nimbostratus
Dec 20, 2006Convert http to https & then to pool
Please take a look at this. Here's what I'm loooking to do: When someone comes in on 443, and they don't match what we're looking for, then their request should be converted to http and then sent to a pool. Is that possible?
I don't want to do a redirect because that will change the host and uri, and we want those to remain the same. Below is what I have for the iRule so far:
when HTTP_REQUEST {
if {[HTTP::uri] starts_with "/foo"}{
use pool foo
the above will stay https
} elseif {[HTTP::uri] matches_regex "^/bar/" } {
use pool bar
the above will stay https
} else {
How do I convert everything below caught by the else to http?
use pool baz
}
}
Thanks,
Chad
- Deb_Allen_18Historic F5 AccountWith a serverssl profile applied to the virtual server, that can be accomplished with the SSL::enable/SSL::disable commands:
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