Forum Discussion
APM Branch rule based on Referring URL
Hi,
I am in the process of setting up the F5 as an ADFS proxy for O365 as well as for other services. I need to configure a APM check that looks to see where the referral request came from and based on that assign a path. For eg-- for O365 the referer will contain "login.microsoftonline.com" while for remedy it will contain "onbmc.com". Basically I want to create a check which says - if the request came from Microsoft use this path and for everything else use this path.
Can this be done using session variables ? or do I have to use an irule to create custom session variables and then use those variables ?
In a bind here and any help would be appreciated.
thanks,
Karthik
I have attached a Fiddler session capture.
- Kevin_Davies_33
Nimbostratus
Have you tried using sessiondump to see if any variables have the referrer information in them?
- Kevin_Davies
Nacreous
If sessiondump does not give you the referrer in any of the existing APM variables then use the following iRule.
when ACCESS_SESSION_START { ACCESS::session data set "session.custom.client.referer" [HTTP::header "Referer"] }
You can then use the Empty object from the General tab in the VPE and use this var to create your own branch logic.
- Karthik_Krishn1
Cirrostratus
I did and it did not contain the referring URL
Recent Discussions
Related Content
* 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