Forum Discussion
Otto_Schmedlap_
Nimbostratus
Jun 14, 2006How to match URI of <nothing>
What do I need to use in my iRule to match on the URI being nothing (ie: http://domain.com/ , or http://domain.com )?
Also is there any benefit to use event of HTTP_REQUEST vs HTTP_REQUEST_DATA?
Thank you
- The URI will never be an empty string. For an empty uri (http://domain.com or http://domain.com/) the value of the HTTP::uri is "/".
when HTTP_REQUEST { if { [HTTP::uri] equals "/" } { log local0. "Empty URI requested" } }
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