Forum Discussion
skkg_111590
Nov 12, 2010Nimbostratus
need irule help
I need help as I am new to irule
When user tries to go to
1. http://abc.com/secure/* ----------it should redirect to https://abc.com./secure/* --works all fine.
when HTTP...
Do 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