My test result: regex_remap is prior to map sometimes.
#remap.config
map http://forbidden.test.com http://test.com @action=deny
# work
map http://www.test.com http://some.test.com
# not work
regex_map http://(.*).test.com http://$1.org.test.com
# catch all
map http://www1.test.com http://some.test.com
# not work too
related docs:
http://trafficserver.apache.org/docs/trunk/admin/configuration-files/remap.config.en.html#precedence
On Sat, Apr 28, 2012 at 2:21 AM, Leif Hedstrom <zwoop@apache.org> wrote:
> On 4/27/12 10:13 AM, Elli wrote:
>
>> Thank you for the clarification. For what it's worth I agree it would
>> make configuration easier to understand. I will try to file a bug shortly.
>>
>>
> I'm pretty sure there already is a bug file for this :).
>
> -- leif
>
>
|