Forum Discussion
lisiecki_54902
Nimbostratus
Jun 09, 2009https redirect to pool based on uri
I have looked though many examples. I recieve an https request and I need to forward to a pool based on uri:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/thing1" } {
...
lisiecki_54902
Nimbostratus
Jun 10, 2009First, Thank-you for the reply.
I am terminating SSL. Can I add a port to the request before I forward to the pool?
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/thing1" }
****HTTP::redirect "[HTTP::uri]:1080" ******
{ pool thing1 }
elseif
{ [HTTP::uri] starts_with "/thing2" }
{ pool thing2 }
}
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