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.com/solutions/Documents/Preview.aspx?ldUid=2db3deae-4e91-df11-9GG72-001cc448da6a&ru=%2Fatlas%2FDocuments%2FBrowseDocuments.aspx%3FfUid%3Dfc2b8838-4e91-df11-9372-001cc448da6a%26PageNumber%3D0
URI components are "hidden" by an iRule and the user only sees:
https://www.myapplication.com/Preview.aspx
The application however still need the original post/get to work - I just want to hide it at the presentation layer.
- hoolio
Cirrostratus
Hi, - stheron_82150
Nimbostratus
The URI will constantly change so it looks from your previous posts that either an encryption iRule (or better include this in the app code) or stream(?) functionality could be a solution ? - hoolio
Cirrostratus
If 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: - stheron_82150
Nimbostratus
I don't think that will work in our environment since we will have tens of millions of mappings to include, but I'll read up on your recommendations.
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