Forum Discussion
vrajan_97076
Nimbostratus
Sep 12, 2007How to get the URL of the referrer page?
Hi,
How do we get the URL of the referrer page using iRules?
Like in asp, we can use either the Request.ServerVariables("HTTP_REFERER") or document.referrer for the same. Is there an eq...
hoolio
Cirrostratus
Sep 13, 2007Hi,
You can get any HTTP header value with the command 'HTTP::header value HEADER_NAME' command (Click here). Here's an example that logs the value to /var/log/ltm:
when HTTP_REQUEST {
log local0. "Referer: [HTTP::header value Referer]"
}Aaron
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
