Forum Discussion
Is there a command for an iRule to examine to full URL instead of only examining the uri, path, or query?
- 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
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
Recent Discussions
Related Content
* 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