Forum Discussion
PacketHead_4009
Nimbostratus
Nov 04, 2010URI Redirect to main page
Hello,
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 o...
George_Watkins_
Nov 04, 2010Historic F5 Account
Hi James,
Something like this would probably do the trick:
when HTTP_REQUEST {
switch -glob [HTTP::path] {
"/user/manpage/home/*" -
"/admins/manpage/tools/*" -
default {
HTTP::redirect http://www.mysite.com
}
}
}
Add and remove more paths and/or wildcards as necessary.
-George
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