Forum Discussion
Aviv
Cirrus
Jan 20, 2016Combine ACCESS_POLICY_AGENT_EVENT and http_request
Hi!
How to Combine ACCESS_POLICY_AGENT_EVENT and http_request?
i get error on this irule:
when ACCESS_POLICY_AGENT_EVENT {
if { [ACCESS::policy agent_id] eq "irule_test" }{
when HTTP_R...
Lucas_Thompson_
Jan 20, 2016Historic F5 Account
ACCESS_POLICY_AGENT_EVENT runs in the context of the connection between TMM and the renderer (the little web server that sends the logon pages, etc). Thus, it's not appropriate to set a pool in this context.
If you want to set a pool for a session, use the "Pool Assign" action in the Access Policy.
- AvivJan 20, 2016
Cirrus
as u can see in the irule.. the line of pool is in comment. and i getting error. can i use when access_policy_agent_event together with when http_request? - Lucas_Thompson_Jan 20, 2016Historic F5 AccountOK, yes I see you've put one event code block inside another event code block. Don't do that, it doesn't make sense. You need to define the event, then state the code that runs in it. An event doesn't run inside another event. What are you trying to accomplish?
- AvivJan 21, 2016
Cirrus
ן want to insert only once the user logon name in the header of specific web page. can u tell me how?
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
