Forum Discussion
Colin_Walker_12
Dec 03, 2008Historic F5 Account
What you would probably want to do is combine all of the cases into one large switch. You could use switch -glob [HTTP::host][HTTP::uri] to accomplish this. Then for the host only matches use something like "abc.com*" for the match, and for the uri only matches use "*/app1/index.html". Then you would leave the host and uri comparisons the same, and one switch should handle all of the above cases.
Let me know if this doesn't make sense and I'll show you what it would look like combined.
Colin