Forum Discussion
Jangle-Man_1290
Nimbostratus
Sep 19, 2014iRule - Direct traffic to specific pools based on host and URI
Good Afternoon,
I am struggling to find a winning combination for the following process.
The default Virtual Server pool is different and required for all other sites.
Step 1 - The website www....
El_Jefe_43496
Nimbostratus
Sep 19, 2014when HTTP_REQUEST { if { [HTTP::path] starts_with "/lz/" }{ pool Pool_Landing_64 } elseif { [HTTP::path] starts_with "/login/" }{ pool Pool_Admin_64 } else { pool Pool_Website } }
shaggy
Nimbostratus
Sep 19, 2014throw some tolower's in there, too:
...
if { [string tolower [HTTP::path]] starts_with "/lz/" }{
pool Pool_Landing_64
} elseif {[string tolower [HTTP::path]] starts_with "/login/" }{
pool Pool_Admin_64
...
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