Forum Discussion
tikshoret
Nimbostratus
Feb 18, 2015redircert traffic to a specific resource using HTTP:HEADER
Hi all,
maybe you can help me save lots of time
in APM version 11.3.0 i need to redirect traffic to a webtop resource base on HTTP Header.
i mean that after the user authenticate i need to check if t...
tikshoret
Nimbostratus
Feb 18, 2015Hi Michael, thank you for your answer. if i will do something like this: when HTTP_REQUEST { if { [HTTP::header exists "HEADER_NAME"] } { log local0 "HEADER_NAME EXISTS" if {[HTTP::header "HEADER_NAME"] eq "true"}{ ACCESS::session data set session.X.X."HEADER_NAME" true else { log local0. ""HEADER_NAME missing" } } i can use it in the flow with mcget to look if its "true" to send the request to specific webtop? or if he will write in the session dump the variable session.X.X."HEADER_NAME" it will be there for the next HTTP request as well..?
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