Forum Discussion
Mark_S__182830
Nimbostratus
Jan 19, 2015iRule Behavior: Custom URI + Route to Different Pool
Given the iRule below - whenever I navigate to domain.com/blah/shortname1, the URI redirect is working but it's not pointing the reset to 'CUSTOM_POOL2'.
Defined within the Virtual Server, the tra...
Eric_St__John
Employee
Jan 19, 2015This iRule will redirect all requests, except requests beginning with /shortname1 or /blah/shortname to /shortname1, which will select the default pool.
If the URI begins with /blah/shortname, the URI will be set to /Shortname1, and pool CUSTOM_POOL2 will be selected. This URI setting will occur between the BIG-IP and the pool CUSTOM_POOL2, no redirect will occur.
Is that what you intend to occur? If not, what do you want to happen with each request?
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