Forum Discussion
Adam_Fint_1489
Aug 02, 2011Nimbostratus
There was another iRule being applied to this same vip:
- rule shopgoxxx.com {
- when HTTP_REQUEST {
- switch -glob [HTTP::host] {
- "www.shopgoxxx.com" {
- return
- }
- default {
- HTTP::respond 301 Location "http://www.shopgoxxx.com[HTTP::uri]"
- return
- }
- }
- }
- }
When we combined the iRule in my first post along with the above into the one iRule, everything started working as expected; previously they were each applied to the VIP, and we'd get a 301 loop.