Forum Discussion
abeny_894
Nimbostratus
Dec 12, 2008HTTP::uri problem
Deal all,
I have got some problems on [HTTP::uri], for example:
_________________________________________________________
http://www.foo.com/development/ --> Pool 1
...
andy_22730
Nimbostratus
Dec 18, 2008Hello:
I want to do something similar, but I want to redirect certain URI's and Proxy (via a pool) others...
I don't seem to be able to use both the HTTP::redirect within the same irules as forwards to pools.
How can I do this?
For instance:
if {[HTTP::uri] starts_with "foo"} {HTTP::redirect "http://foo.com"}
if {[HTTP::uri] starts_with "bar"} {pool bar-pool}
I can create this irule, but anytime it matches to the bar, I get a tmm error about redirecting....
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
