Forum Discussion
Mack_Hanson_107
Nimbostratus
May 11, 2005Getting full path of request
How do I get the full path of the request, e.g. 'http://www.someplace.com/dirname/somepage.html'?
[HTTP::uri] only returns the path '/dirname/somepage.html', while
[HTTP::header location] is showing me nothing. Here's my test rule:
when HTTP_REQUEST {
log local7. "header names: [HTTP::header names]"
log local7. "location: [HTTP::header Location]"
log local7. "uri: [HTTP::uri]"
}
- unRuleY_95363Historic F5 AccountThe location header is generally only used with a redirect response. The host portion of a request is found in the Host header. So, the following would get you closer to the complete url:
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