Joe_Pena
Feb 06, 2018Nimbostratus
redirecting hostname to proper URI path
I was asked to create a redirect whenever a client types this into their browser, omsqa.domain.com redirect it to http://omsqa.tbccorp.com/isccs/isccs/login.do. My irule seems to perform the redirect but the page doesn't load, I get error redirecting occur in firefox. If i use fiddle i can see it perform the 302 redirect. I'm not sure what else to look at. If I remove the irule from the VS, and go directly to the full URL (http://omsqa.tbccorp.com/isccs/isccs/login.do) it works fine. Please help
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"omsqa.tbccorp.com" - {
HTTP::redirect ";
}
}
}