Forum Discussion
Joe_Pipitone
Nimbostratus
Mar 10, 2010iRule error in logs
The iRule below is throwing the following error in our logs. Can anyone help?
TCL error: our-rewrite HTTP_REQUEST - Operation not supported. Multiple redirect/respond invocations not allo...
The_Bhattman
Nimbostratus
Mar 10, 2010Hi Joe,
Not exactly why this would kick off an error message.
However, have you tried the following
when HTTP_REQUEST {
if { ([HTTP::host] eq "www.sitename.org") } {
set blah [HTTP::uri]
switch -glob [HTTP::host] {
"/" { HTTP::redirect "http://sitename.org" }
default { HTTP::redirect "http://sitename.org$blah" }
}
}
}
Bhattman
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