Forum Discussion
stheron_82150
Nimbostratus
Jul 19, 2010Suppressing URI content shown in a browser
Great forum with fantastic advice ! - Is there a way to suppress a portion of the URI in a client browser using an iRule ?
Instead of the user seeing :
https://www.myapplication...
hoolio
Cirrostratus
Jul 19, 2010If you just want to publish short, user-friendly URIs and have LTM rewrite them to the full URI, you could use a datagroup which maps each short URI to the long one. For 9.x, you'd define the source and target on a single line using a space as a separator in a string datagroup. You could then use findclass to search for the requested URI and rewrite it to the corresponding long URI. For 10.x, you could use the new name/value pairs in a string datagroup and the class command to look up the value. Here are the wiki pages for these commands:
http://devcentral.f5.com/wiki/default.aspx/iRules/class
http://devcentral.f5.com/wiki/default.aspx/iRules/findclass
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