Forum Discussion
ShakN_167332
Nimbostratus
Sep 10, 2014URI redirection issue with upper/lower case traffic
hi when user types lower case redirection works but when users types uppers it is not working..
eg: user come /bseu/finance it should redirect to /sites/finance this is working..now if user comes ...
Kevin_Stewart
Employee
Sep 12, 2014but it is not happening in address bar
I think this might be the problem. You're using the HTTP::uri command but expecting to see something in the browser address bar. That is not what this command does. This command alters the URI as it passes through the box. It does not issue an HTTP redirect, nor does it change the browser's address bar. Try using the HTTP::redirect command instead:
set newuri [string map "$origin $new" [string tolower [HTTP::uri]]]
HTTP::redirect "https://[HTTP::host]${newuri}"
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