Can you provide a bit more background on what you’re trying to accomplish and why?
Do you always want /preview.aspx to be rewritten to a static string of /solutions/Documents/Preview.aspx?ldUid=2db3deae-4e91-df11-9GG72-001cc448da6a&ru=%2Fatlas%2FDocuments%2FBrowseDocuments.aspx%3FfUid%3Dfc2b8838-4e91-df11-9372-001cc448da6a%26PageNumber%3D0?
If so, you could use a simple iRule to do this. If it’s more dynamic than that, chances are it won’t be practical to implement in an iRule. Here are a couple of related posts:
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 ?
The goal is just to show the user a simplified URI in the browser instead of a very long one for cosmetic reasons. 99% of the application functionality is controlled by Java controls on the page.
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: