Forum Discussion
Eireann78_19953
Nimbostratus
Sep 06, 2008Use F5 for mass URI rewrites
Hey,
We currently use Apache to do multiple re-writes on our website.
With a new launch coming up and a pair of BIG-IP 6400s installed with web accelerator licenses on the way we are...
hoolio
Cirrostratus
Sep 08, 2008Hi there,
For a large number of rewrites, it would be most efficient to use a datagroup (called a class in the bigip.conf) and reference the class in an iRule. This allows you to separate the configuration of the rewriting from the iRule which performs the rewrites. If you want to give developers control over the configuration, but not the iRule, you could create a separate program or web application which uses iControl (a management API into the LTM) to change the datagroup contents.
The iRule would be fairly straightforward. You could use the findclass command (Click here) to look up the requested URI and get the rewrite target. There are a lot of examples in this forum to get started. If you have any questions/issues there are plenty of people here who can help.
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