Forum Discussion
rando_57003
Jan 25, 2012Nimbostratus
Simple HTTP redirect
Hey guys I'm new to iRules, and I need help with a simple one. I have an old link that I'm afraid people have bookmarked, and I want to use an iRule to redirect to my current welcome page. It's so s...
hooleylist
Jan 25, 2012Cirrostratus
Hi Rando,
Here's an example:
when HTTP_REQUEST {
if {[string tolower [HTTP::path]] eq "/welcome.aspx"}{
HTTP::redirect "/"
}
}
Aaron
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