Forum Discussion
MatoS
Apr 13, 2022Nimbostratus
HTTP redirect passing HTTP referer value
Hi, I have a request from a customer which I cannot resolve by myself. Customer wants to track http referers at their sharepoint site like this: When on site "xyz" and you click site "linkit" you w...
spalande
Apr 13, 2022Nacreous
why on xyz site you can configure redirect link going to sharepoint site directly? Referer header should come to F5 VIP for linkit. You can see by logging in the iRule if that comes and forward it using below iRule
when HTTP_REQUEST {
if {[HTTP::header exists Referer] }{
log local0. "referer header found"
set referer [HTTP::header value Referer]
HTTP::respond 301 Location "https://sharepoint.aspx"
HTTP::heder insert "Referer" $referer
} else {
log local0. "no referer header found"
HTTP::respond 301 Location "https://sharepoint.aspx"
#HTTP::heder insert "Referer" no-referer-found
}
}
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