Forum Discussion
risgro_77522
Nimbostratus
May 11, 2015URL needs to be in certain case letters
Hello,
In the URL/application, "WebCenter" is case-sensitive. So if a client hits:
https://qweb.sys.com/webcenter/default or
https://qweb.sys.com/Webcenter/default or
https://qweb.s...
Robert_Luechte1
Nimbostratus
May 11, 2015You can try something like this:
when HTTP_REQUEST {
if { [HTTP::uri] equals "WebCenter" } {
URL is correct case, do nothing"
}
elseif { string tolower [HTTP::uri] equals "webcenter" }
HTTP::redirect "https://qweb.sys.com/WebCenter/default with a capital W and a capital C"
}
}
Or, do you want to just fix it for them?
- Robert_Luechte1May 11, 2015
Nimbostratus
Sorry, you should probably use starts_with instead of equals in the if statements.
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
