Forum Discussion
hkr_36676
Nimbostratus
Jan 13, 2008Rewrite long-uri to short-uri........
Hi.
I am trying to rewrite a uri which is quite long.
1
Request from client:
http://www.mysite.com/SHORT/Start/$first?opendocument&Expand=1
The request to the serve...
hoolio
Cirrostratus
Jan 14, 2008Hello,
If you start with a request from the client:
/SHORT/Start/$first?opendocument&Expand=1
And want to rewrite it to:
/ndk_website/seminar/proweb25/cmsdoc.nsf/Start/$first?
You can use something like this:
HTTP::uri [string map {/SHORT /ndk_website/seminar/proweb25/cmsdoc.nsf}]
This will replace the string /SHORT with the /ndk_website...cmsdoc.nsf string.
Do you need to change the parameters in the query string?
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