Forum Discussion
DocSmooTH_23746
Nimbostratus
Apr 07, 2008regexp match HTTP::host to choose pool
I couldn't find anything in this forum searching for "regexp http::host" or "regexp matchclass" that fit my problem, but we did get the idea from one of Joe's blog posts.
We have a bunch of ...
DocSmooTH_23746
Nimbostratus
Apr 08, 2008Thanks, that helps, but right now I actually have 10 pools in the F5, with the possibility of more to come - that's why I was originally planning to use matchclass, since we could just add another string to the class, rather than having to edit the rule. This rule only fires on the user's initial connection, some idiot web logic redirects them to a NEW virtual server that requires a port in the backend and runs on java, so I can't just rewrite the stream live (stupid Oracle).
so the speed of the rule isn't as important as being able to read it and edit it live later on in the F5's lifecycle.
edit:
typing "matchclass" properly helps search terms.
I saw Joe's post about matchclass vs. switch and switch being way faster than if, but the edit-ability is more important in my case, I think. I hope that helps point why I am pushing this way, and just trying to fix my regex. unless I didn't read your answer clearly enough, Colin?
Thanks in advance, guys!
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