On Fri, May 2, 2014 at 9:13 AM, [email protected] <[email protected]> wrote:

> Hi Bryan,
>
> same problem with your acl.
>
>
> I think the acl isn't the problem here, i suspect the redirect line.
>
>
>

You are redirecting requests for abc.example.com/ to abc.example.com/ which
is why you have a loop. Options would be to change the host or path, or
check for your query string, or a cookie being set or something to stop the
loop.



-Bryan


frontend http
>>>
>>>
>>>      acl is_domain hdr_dom(host) -i abc.example.com
>>>
>>>      acl root path_reg ^$|^/$
>>>
>>>
>>>      redirect location http://abc.example.com/?code=1234  code 301  if
>>> is_domain  root
>>>
>>>
>>> Unfortunately this ends up in a redirect loop.
>>>
>>
>>
>> All paths begin with "/". I suspect that you don't want path_beg but just
>> path for an exact match.
>>
>>   acl root path /
>>
>>
>>

Reply via email to