Forum Discussion
ivy62798_39340
Nimbostratus
Aug 16, 2008ISAPI rewrite IRULE
We are looking to replace the ISAPI rewrite we currently use to redirect. You can read about the DLL here: http://www.helicontech.com/isapi_rewrite/
Here is what we need to do. We are putting out a social networking site. In the raw, somebody's home page may be:
http://www.mysite.com/community/profile/home.cfm?id=123
We want the user to be able to have easier URLs to remember. For example, the user above would use http://profiles.mysite.com/joeuser without having to create all these directories, etc. Of course, the joeuser username would be connected to id of 123.
We are able to use the ISAPI rewrite dll to accomplish this but there are a lot of things we need to do to get it to work correctly....many complications.
Is there an easier way to do this using the IRULEs within the F5?
Thank you.
1 Reply
- hoolio
Cirrostratus
Hi,
Sure, this can be done using iRules. You can create a mapping of URIs to rewrite and the string to rewrite with using a datagroup (called a class in the bigip.conf file) of a type 'string'. You can then use findclass (Click here) to look up the requested URI and get the string to rewrite it to. If you search this forum and/or the iRules codeshare, you can find quite a few examples. Reply here if you have any questions.
Aaron
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
