Forum Discussion
APM iRule events
Hello DevCentral,
I want to insert a specific value in a HTTP Header ( f5 insert the HTTP header) if a user have a certain active directory Group.
I tried to create a Macro with an AD query and then each branch have "user is member of " verification with the related group, after that there is an iRule event that injects the HTTP Header ( i added a log local0. "xxx " in order to see if the logging will start)
Anyone can help me ?
Thanks in advance,
Best regards,
Matteo
3 Replies
- MDPF52_180608
Nimbostratus
It seems that the HTTP header is not injected ( when ACCESS_POLICY_AGENT_EVENT ) - MDPF52_180608
Nimbostratus
It seems that the HTTP header is not injected ( when ACCESS_POLICY_AGENT_EVENT ) - Stanislas_Piro2
Cumulonimbus
The ACCESS_POLICY_AGENT_EVENT event is only evaluated once. If you want to insert header, create a APM variable in VPE and read it in an irule in the event ACCESS_ACL_ALLOWED.
one example is on the iRule wiki :
https://devcentral.f5.com/wiki/iRules.ACCESS_ACL_ALLOWED.ashx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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