Forum Discussion
Wes_98712
Nimbostratus
Nov 09, 2005undefined procedure: elseif
Ok,
This conversion process is killing me, I almost had a good chunk of my v4.X converted, and working (meaning my 3400 series LB wasn't rebooting...good thing). Now I have a strange issue, ...
Wes_98712
Nimbostratus
Nov 11, 2005I tried the following and it skips the rule completley, doesn't even log anything:
} elseif { [string tolower [HTTP::uri]] contains "StonesReg"} {
log local0.
HTTP::respond 301 "Location" "http://www.ameriquestmortgage.com/wwwmodules/stonessweeps.html?ad=1K" }I also tried the following and it as well doesn't log anything and skips the rule
set my_uri [HTTP::uri]
if { [string tolower $my_uri] contains "StonesReg"} {
log local0.
HTTP::respond 301 "Location" "http://www.ameriquestmortgage.com/wwwmodules/stonessweeps.html?ad=1K"
}I must be doing something wrong here. All I want to do is take whatever combo of characters are passed through for the string stonesreg and redirect accordingly.
Thoughts?
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