Forum Discussion
Moayad_Hamdan_3
Nimbostratus
Dec 02, 2016irule based on referrer value
Hello every one.
I want to redirect the traffic received from SharePoint server based on the referrer value to SharePoint pool.
referrer value is https://x.x.com/yy
pool is sp13
I need t...
Dec 02, 2016
Try this:
when HTTP_REQUEST {
set referer_value [HTTP::header value Referer]
log local0. "\[HTTP::uri\]: [HTTP::uri]"
log local0. "\[HTTP::header value Referer\]: [HTTP::header value Referer]"
if { $referer_value eq "https://x.x.com/yy" } {
log local0. "Redirect to pool sp13"
pool sp13
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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