Forum Discussion

mnb_63148's avatar
mnb_63148
Icon for Nimbostratus rankNimbostratus
May 29, 2014
Solved

Is there a command for an iRule to examine to full URL instead of only examining the uri, path, or query?

Is there a command for an iRule to examine the full URL instead of only examining the uri, path, or query? For instance, I want the F5 to evaluate http://example.com/test123. So far, I have only seen...
  • Colin_Walker_12's avatar
    Jun 02, 2014

    If you're looking to represent the protocol, the best way is to identify which port the traffic is on. I.E. port 80 means the session is likely HTTP, 443 is likely SSL, etc. There is no specific HTTP iRule command to return the protocol prefix (http, https, etc.).

     

    But yes, other than that, [HTTP::host][HTTP::uri] will get you the entirety of the request.

     

    -Colin