Forum Discussion
Talassa_90150
Nimbostratus
Nov 18, 2015redirect publish web sites based on host header to apm apolicy
im publising my sites via F5 APM
i have only one external ip listner and i would like F5-APM to redirect the request based on hostname header
xxx.example.com --->x.x.x.x yyy.examole.com--->y.y.y....
Stanislas_Piro2
Cumulonimbus
Nov 18, 2015Hi
Local traffic policies is a new tool to create a set of rule in GUI instead of creating irules and data groups.
you can create it in policies menu with following configuration:
- requires : http
- controls : forward:
-
rule 1 :
-
conditions :
- http-host host equals xxx.example.com
-
actions :
- forward pool poolX
- tcl set variable WebSSO SSOX
-
conditions :
-
rule 2 :
-
conditions :
- http-host host equals yyy.example.com
-
actions :
- forward pool poolY
- tcl set variable WebSSO SSOY
-
conditions :
- ..
-
rule default :
-
conditions :
- none
-
actions :
- forward virtual Publish-Site
-
conditions :
add the following codeshare irule to assign websso profile stored in WebSSO variable.
https://devcentral.f5.com/codeshare/websso-profile-selection-in-ltm-policy
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