Forum Discussion
Shruti_Malik_84
Nimbostratus
May 11, 2007iRule to log domainname from http_request and location from http_response
Hi,
Can i write an i-Rule to log in ltm file where i can log domain name from http_request header and location from http_response header
Waiting for reply!!
Regards
Shrut...
May 14, 2007
As far as I know the Location header is specific to 301 and 302 based redirects where it's value is the new location the browser is supposed to request for the updated link. It is not returned for all HTTP responses (if that is what you were expecting). If the supplied rule does not display log the Location header, that is because it a header with the name of "Location" is not returned in the HTTP response. For non-redirect based responses, the only clue on the document location is given by the Request URI.
-Joe
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