Forum Discussion
iRule Geo Targeting
There are three "else" conditions in the above iRule:
-
If the URI doesn't start with "/geo" - this is the last else condition in the iRule. As written, it should simply ignore all of the processing and pass the traffic (ie. "else do nothing").
-
If the URI starts with "/geo" but the request doesn't have an X-Forwarded-For header - this is the next else condition up from the bottom. As written it will simply pass the traffic through.
-
If the class match doesn't find anything - this is the "default" condition in the switch clause. As written it sends traffic to the DEV-HTTP-POOL pool.
Recent Discussions
Related Content
* 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