Forum Discussion
Mitesh_Mistry
Nimbostratus
Aug 23, 2019Jet Nexus Config to Local Policy or iRule
$path = http.getPath();
if( string.endsWithI( $path, "/gem/gem/authenticateUser.gwt"))pool.use("pool_aps");
There are a number of these i need to convert from Jet Nexus config to either iRULE or if possible to Local policy.
Please can anyone assist, i don't know how to get path using the Local policy but the other elements looks fairly straight forward.
3 Replies
- Faruk_AYDIN
Altostratus
the iRule is:
when HTTP_REQUEST { if { [HTTP::path] eq "/gem/gem/authenticateUser.gwt" } { pool pool_aps } } - iaine
Nacreous
...or Policy
ltm policy /Common/test_net { controls { forwarding } requires { http } rules { gem { actions { 0 { forward select pool /Common/pool_aps } } conditions { 0 { http-uri path values { /gem/gem/authenticateUser.gwt } } } } } strategy /Common/first-match } - Mitesh_Mistry
Nimbostratus
Thank you both for your responses. Most Appreciated.
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