Forum Discussion
Joe_Pipitone
Nimbostratus
Aug 25, 2009Redirect rule somewhat working
Hello all,
I'm having a small issue with an iRule. My rule is below:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] equals "/redirectme" } {
...
Kevin_Stewart
Employee
Aug 25, 2009Try:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/redirectme" } {
HTTP::redirect "http://sitename.com/newuri"
}
}
Kevin
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
