Forum Discussion
Allan_66523
Nimbostratus
Dec 08, 2011redirect url to another pool
I would like to have 1 vip for about 50 virtual web nodes. I would like the irule to look at the url and direct it to the correct pool. Can someone help me with this?
Thanks
nitass
Employee
Dec 12, 2011Do I need to add "contains" into the irule so similar URL's with test.xyz.com/test/hello will get sent to the correct vip?we use HTTP::host, so test.xyz.com/test/hello will still match the "test.xyz.com" in switch.
URL is test.xyz.com/test/hello
HTTP::host is test.xyz.com
HTTP::uri is /test/hello
5-Minute iRules: What’s a URL?
http://devcentral.f5.com/weblogs/jason/archive/2010/09/29/5-minute-irules-whatrsquos-a-url.aspx
additionally, you are able to use glob-style matching in switch i.e. -glob.
iRules 101 - 04 - Switch by Joe
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/129/iRules-101--04--Switch.aspx
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