Forum Discussion
GeorgeA_32263
Nimbostratus
Apr 14, 2014Redirect URI AND send client browser a custom message
Hello, I have a simple IRule that redirects the URI to a new location. In addition to this, I now want to send an informational message to the client’s browser after the redirect. The message should ...
nitass
Employee
Apr 17, 2014Is it supposed to go to the next line of code after the "return" and execute the redirect or is something missing?
no, return will exit from irule event.
return
https://devcentral.f5.com/wiki/iRules.return.ashx
anyway, you cannot use both HTTP::respond and HTTP::redirect at the same time. just use HTTP::respond similar to the following and remove HTTP::redirect.
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