URI Redirect to main page
I have a few iRules that do something similar to what I am looking for but not specifically what I am trying to do.
Basically I have a VIP for www.mysite.com. I have some old links that no longer work due to content change and upgrades but users have these links stored as favorties and in their system (i.e. www.mysite.com/user/manpage/home and www.mysite.com/admins/manpage/tools )
I want to create an iRule to redirect the users back to the main page if they have any of the URLs listed above. This seems simple enough with some if and else statements but I'm still new to iRule coding.
Any help would be appreciated!