Forum Discussion
BPRIDE
Nimbostratus
May 11, 2015URI prefix iRule
I need to know the best iRule match my request
www.common.com should redirect to www.common.com/sites/web/
www.common.com/table should redirect to www.common.com/sites/web/table
I hope my r...
Robert_Luechte2
Cirrus
May 11, 2015Try this:
when HTTP_REQUEST {
switch [string tolower [HTTP::uri] {
"/" { HTTP::redirect "www.common.com/sites/web/" }
"/table" {HTTP::redirect "www.common.com/sites/web/table" }
}
}
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
