Forum Discussion
silver
Nimbostratus
Sep 25, 2012URI Rewrite
HI All,
I have a specific requirement to rewrite the URI when the user requests the URL and the change has to be made interanlly without knowing to the external user.
Original URL : ...
Kevin_Stewart
Employee
Sep 25, 2012Well, very simply:
if { [string tolower [HTTP::uri] equals "/testcustomer/testcontext/html" } {
HTTP::uri "/customer/context/html"
}
That'll literally change "testcustomer" to "customer" and "testcontext" to "context".
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