Forum Discussion
Dixit_18200
Nimbostratus
Feb 23, 2010Help needed for irule issue
Hi,
I have setup two irules for http to https redirection
1st for redirecting the below websites
http://www.acbg.com/ucc
http://www.acbg.com/saleshu...
JRahm
Admin
Feb 26, 2010Just extend Aaron's example:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/saleshub/ucc" {
HTTP::redirect "https://microsite.accenture.com/ACBG_SalesHub/solutions/Pages/Outsourcing.aspx"
}
"*/saleshub/cct" {
HTTP::redirect "https://microsite.accenture.com/ACBG_SalesHub/solutions/Pages/CCT.aspx"
}
"*/ucc" {
HTTP::redirect "https://microsite.accenture.com/ACBG/Solutions/UCandC/Pages/default.aspx"
}
"*/cct" {
HTTP::redirect "https://microsite.accenture.com/ACBG/Solutions/CustomerContact/Pages/default.aspx"
}
default {
Take some default action
}
}
}
You just want to make sure your saleshub matches occur first in the switch so your matches occur correctly for /saleshub/*
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