Forum Discussion
Christian_15126
Nimbostratus
Jan 06, 2013irule catches info.blah.edu/* instead of specific paths in match criteria
Match subdomain.domain, with a "/", b_path, c_path, d_path; Then A/B load balance 60/40 percent ratio.
Created 12/11/2012 CH
Last edited 12/11/12
when RULE_INIT {
log local0....
Christian_15126
Nimbostratus
Jan 07, 2013Good to know (which I am entering everything lowercase). I suspect one of the following search criteria is the problem, but I don't understand why:
[string tolower [HTTP::path]] equals "/" || [string tolower [HTTP::uri]] matches_glob "/$static::b_path"
string tolower [HTTP::path]] equals "/" should just match info.blah.edu/, not info.blah.edu/*, and [string tolower [HTTP::uri]] matches_glob "/$static::b_path" should only match nfo.blah.edu/?* (for google marketing search queries). Am I missing something? I've also tried string tolower [HTTP::uri]] equals "/" instead of path, but didn't make a difference. The irule still matches and uri/path past info.blah.edu/asldkjflaskjfsa.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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