Forum Discussion
Zabeel_101104
Mar 29, 2012Nimbostratus
url control based on requests/path
Hi,
Need some help on irules please.
We have irules defined on the F5 where the string is matched and request sent to a pool
"mywebsite.com" { pool website1 }
What I am trying to achieve is
anyone going to https://thiswebsite.com gets sent to https://thiswebsite.com/webdesktop
but if anyone types in https://thiswebsite.com/webconsole/app this gets passed along as is to the pool and everything else goes to https://thiswebsite.com/webdesktop
Regards
Zabeel.
- hooleylistCirrostratusHi Zabeel,
... "mywebsite.com" { pool website1 switch -glob [HTTP::uri] { "/webconsole/app*" { do nothing } default { Rewrite URI to /webdesktop HTTP::uri "/webdesktop" } } }
- Zabeel_101104Nimbostratusthanks for that I will give that a try
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