Forum Discussion
Richard_Kim_270
Nimbostratus
Aug 15, 2008Basic iRule redirect help
Hello people. I would like to add a line that will detect a url/file for "login.aspx" and redirect it to "default.aspx*". here is my current iRule:
when CLIENT_ACCEPTED {...
The_Bhattman
Nimbostratus
Aug 15, 2008You could use the following
.
.
.
if { [HTTP::uri] ends_with "login.aspx" } {HTTP::redirect "http://something.anything.com/default.aspx" }
or
.
.
.
if { [HTTP::uri] ends_with "login.aspx" } {HTTP::uri /default.aspx }
Hope this helps.
CB
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