Forum Discussion
zafer
Nimbostratus
Feb 05, 2010uri based load balance
Hello
i'm using this iRule but i have problem.
The problem is when i request the url "www.domain.com/Touch" (it does not work) but if i add "/" at the end of the word it ...
The_Bhattman
Nimbostratus
Feb 08, 2010Hi Zafer,
I think I miss understood. Here is another rework of the code
Here is an example
when HTTP_REQUEST {
set uri_info [strng tolower [HTTP::uri]]
switch -glob $uri_info {
"/touch" {
HTTP::redirect "https://[HTTP::host][HTTP::uri]/"
}
"/touch/*" -
/cis*" {
pool pool_9081
}
"/Dispatch*"
{
pool pool_9085
}
}
}
I hope this helps
Bhattman
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