Forum Discussion
MeAndMyBIGIP_60
Nimbostratus
Sep 02, 2009Nesting a redirect to another pool?
So I have an existing HTTP > HTTPS redirect rule running fine that's running on Pool1:
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
I have another, Po...
MeAndMyBIGIP_60
Nimbostratus
Sep 03, 2009Thanks Colin... makes sense.
As I'm not routable to the back-end, taking the Pool tack:
when HTTP_REQUEST {
if {[HTTP::uri] equals {www.foo.com/bar}} {pool Bar_pool }
}
But I'm getting redirected to https://www.foo.com/bar and then :
404 NOT FOUND
This irule is set to run AFTER the above:
when HTTP_REQUEST {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
What am I missing (sorry... new to iRules)?
thanks for your help!!
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