Forum Discussion
Brian_Mayer_841
Nimbostratus
Apr 27, 2007Domain redirect not working for non *.com domain
Hi,
We've added a section to our domain redirect iRule and it just will not redirect as expected. It actually tries loading pages (I see HTTP 200 responses and ojbects loading into the brow...
Deb_Allen_18
Apr 27, 2007Historic F5 Account
Hi Brian --
Try logging the value of the host header to verify your match values:
when HTTP_REQUEST {
log local0. "Host: [HTTP::host]"
switch -glob [HTTP::host] {
"*invitrogen.com.cn" {
log local0. "Host matches *invitrogen.com.cn: Redirecting"
HTTP::redirect "http://www.invitrogen.com/getgid.cfm?gid=197&returnURL=content.cfm?pageid=1"
}
}
}/deb
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
