Tom_White_69772
Mar 16, 2007Nimbostratus
Redirect Irule on V4.5.10
We have created a VIP for URL "itrequest.mycompany.usa.com" but want the users to only have to enter "itrequest.mycompany.com" or "request.mycompany.com". Being first-time irule novices, what's the best way to write this iRule? We've tried this,but it's not working. How do we incorporate both URIs to the single URL?
if (http_uri == "/") {
redirect to "http://www.mycompany.com"
}
else {
redirect to "http://www.mycompany.com +httpuri
}