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 simple I've had trouble finding an example. I need an iRule to redirect http://test.com/welcome.aspx to http://test.com
I appreciate your help with this issue.
- hoolioCirrostratusHi Rando,
when HTTP_REQUEST { if {[string tolower [HTTP::path]] eq "/welcome.aspx"}{ HTTP::redirect "/" } }
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