Forum Discussion
iRule, ProxyPass Help
Unless the iRule do some crazy stuff, 400+ lines is a lot of code. I would say that you can probably do the same with fewer lines, but without seen the code, is just a guess.
I will not, and I couldn't without seen the code, provide a full iRule for that. However, I will point you to some pages that will help you create the iRule.
To work with datagroups:
https://devcentral.f5.com/wiki/irules.class.ashx
To work with iFiles:
https://devcentral.f5.com/wiki/irules.ifile.ashx
Switch command:
https://devcentral.f5.com/wiki/irules.switch.ashx
HTTP path:
https://devcentral.f5.com/wiki/irules.http__path.ashx
You need to check if you want to use HTTP::redirect or HTTP::respond. Check the difference in this post:
https://devcentral.f5.com/questions/uri-translation-vs-httpredirect-irule-52327
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