Forum Discussion
Roger_Grannum_7
Nimbostratus
Feb 23, 2007http and https redirect
I have version 4.6.4 and was having a hard time finding documentation on iRules. New to the process and was wondering how to create a rule 2 rules.
1) Have traffic that is going to http sent to one pool and https sent to another
2) Have a rule to take traffic with a specific URI http://www.mysite.com go to one pool and traffic for http://www.mysite.com/hell sent to a different pool.
If possible I would like a link to better documentation than the manual on F5 site for iRules on 4.X.
Thanks
Roger
- Roger_Grannum_7
Nimbostratus
I think I found the answer to the 2nd question: - Martin_MachacekHistoric F5 AccountRoger,
rule { if(http_uri starts_with "/happy") { use pool partnersite_pool } else { use pool mysite_pool } }
- Roger_Grannum_7
Nimbostratus
Very busy and now have time to re-address. I thought the script above was working but apparently not (they made changes to the code at the same time). - Roger_Grannum_7
Nimbostratus
I keep copy from within the GUI so in the above examples ti doesn't show rule {rule my_rule {
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