Forum Discussion
mtalebi_64623
Nimbostratus
Jul 19, 2010Newbie - How to do Apache like rewrites/redirects in F5 Load Balancer?
Hello,
I am completely new to using load balancers so please forgive me if my questions sound naive. We have always used Apache rewrites to redirect URLs. We are in the process of creating a...
hoolio
Cirrostratus
Jul 19, 2010As Chris suggested, you can definitely do Apache style rewrites and redirects efficiently in an iRule. There are a lot of examples in the Codeshare and iRule forum. You can find related posts if you search the iRule forums for "mod_rewrite".
If you have a lot of source/targets to rewrite or redirect, it would be clean and efficient to add them to a string datagroup and then use findclass (v9) or class (v10) to look them up. Here are another couple of links:
http://devcentral.f5.com/wiki/default.aspx/iRules/class (v10)
http://devcentral.f5.com/wiki/default.aspx/iRules/findclass (v9)
Aaron
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
