Forum Discussion
vineyard_166933
Nimbostratus
Feb 10, 2017Make client use the same webserver our landing page got when requesting authentication token
Hi
We have a lets call it landing page (LP) for external users. They use it to find resources.
It's a single server and have no LB at the moment.
A user can use the LP and SSO will preaut...
vineyard_166933
Nimbostratus
Feb 14, 2017Attaching what we ended up doing with the F5 configuration for the remote service.
when HTTP_REQUEST {
if { [class match [IP::client_addr] equals LP_IP] } {
pool RemoteApp
persist none
}
else {
if { [string tolower [HTTP::uri]] ends_with "/s_a" } {
set uri [string map -nocase {"/s_a" ""} [HTTP::uri]]
HTTP::uri $uri
pool RemoteApp member 99.99.99.98 80
}
elseif { [string tolower [HTTP::uri]] ends_with "/s_b" } {
set uri [string map -nocase {"/s_b" ""} [HTTP::uri]]
HTTP::uri $uri
pool RemoteApp member 99.99.99.99 80
}
else {
pool RemoteApp
}
}
}
when HTTP_RESPONSE {
if { [class match [IP::client_addr] equals LP_IP ] } {
HTTP::header insert VIA [LB::server addr]
}
}
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