sandiksk_35282
May 23, 2018Altostratus
can i combine 2 irules together.
We have 3 urls pointing to the a VS on f5. With 2 urls I need to allow specific IP from the http header ( looking for specific iv remote address),If the IP is in DG allow traffic to the VS if not reject.This is working fine. when HTTP_REQUEST { Traffic is allowed. Client IP match found in DG_QA if { [class match [HTTP::header iv-remote-address] eq "qa" ] }{ pool qa_pool } else { Traffic is dropped. Client IP match not found in DG_QA reject } }
With the 3rd url I need to look only a some specific content in the http header . and how can i achieve this by combining all this into a single irule.