Forum Discussion
Guilherme
Nimbostratus
Feb 18, 2020Help with irule structure
Hi sirs, I just wrote a rule that reads a specific HTTP header and saves it to USER_COD and if it has an empty value or PRINT value it should forward the connection to a certain pool, if the this va...
iaine
Nacreous
Feb 18, 2020Hi
If the header value is null then this should get picked up by the default logic at the end of the code and sent to the default_pool.
The code is written so that is there is a match on a dg_## value in the header then the request will get sent to the corresponding pool. All other requests (ie non-matching) will get sent to the default_pool
Guilherme
Nimbostratus
Feb 18, 2020OK I got you! Im wondering how the switch will call values in the datagroup, it doesnt need to use the "class" match command ?
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
