Forum Discussion
Thiyagu_343098
Nimbostratus
Jan 21, 2018Assigning multiple iRULES to a VIP
Hello All,
I need your suggestion on assigning multiple iRULES to the same VIP. What would be the best approach to be followed while assigning multiple iRULES to the same VIP?
- Does the traffic to t...
Thiyagu_343098
Nimbostratus
Jan 22, 2018Hi Jai, Here is the irules: First, when HTTP_REQUEST { set rd "%[ROUTE::domain]" set client_ip [string map "$rd \"\"" [IP::client_addr]] HTTP::header insert srcaddr $client_ip }
Second, when HTTP_REQUEST { if {[HTTP::uri] starts_with "/uri1" } { pool pool1 } elseif {[HTTP::uri] starts_with "/uri2" } { pool pool2 } elseif {[HTTP::uri] starts_with "/uri3" } { pool pool3 } }
Would I able to merge both the irules without the flow of the application to the application servers based on the URI?
Regards, Thiyagu
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