Forum Discussion
Gerald81_174250
Nimbostratus
Oct 29, 2014https-to-http iRule
We want https://uri to hit POOL_80 via http
when HTTP_REQUEST {
if { [string length [HTTP::host]] } {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
else {
HTTP::redire...
R_Eastman_13667
Oct 29, 2014Historic F5 Account
Try this, I assume that this will be applied to a virtual server that is configured for port 443 only?
when HTTP_REQUEST {
if { [HTTP::uri] eq "uri" } {
pool POOL_80
}
else {
pool DEFAULT_pool
}
}
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