Forum Discussion
Kevin_Stewart
May 01, 2014Employee
In any case:
when HTTP_REQUEST {
HTTP::respond 301 Location "http://www.company-name.com[HTTP::uri]"
}
would cause an infinite loop if the URL is pointing to itself. If it isn't pointing to itself, then priority would matter here. If this iRule fired first, then none of the other iRule logic should be applied. If it fired last, then you have a situation where you're doing a redirect (an egress function) and inserting a header (ingress function) at the same time. That would cause an error.