Forum Discussion
cjones_01_13155
Nimbostratus
Jun 12, 2014Lowercase URI
Below I have the current rule setup:
when HTTP_REQUEST {
Check for capital letters in string
if {[string match {[A-Z]} [HTTP::path]]}{
HTTP::redirect "http://[HTTP::host][string tolower [H...
cjones_01_13155
Nimbostratus
Jun 24, 201401070151:3: Rule [/Common/Set_lowercase2] error: line 2: [parse error: PARSE syntax 34 {syntax error in expression " (string match {A-Z} [HTTP::uri]) and ([HTTP::path] ends_wit...": variable references require preceding $}] [{ (string match {A-Z} [HTTP::uri]) and ([HTTP::path] ends_with ".aspx")}]
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