it may be overkill, but the lua plugin also allows for setting origin
based on whatever criteria.

On Fri, Apr 3, 2015 at 5:56 AM, Nick Kew <[email protected]> wrote:
> On Fri, 2015-04-03 at 10:44 +0200, tomr wrote:
>> Hi,
>>
>> I’m struggling to figure out if it’s possible to do something like this:
>>
>> map http://domain.com/  http://origin.domain.com   @action=allow @method=get 
>> @method=head
>> map http://domain.com/  http://post-origin.domain.com   @action=allow 
>> @method=post
>>
>> Any clues?
>
> The regexp_remap plugin gives you the option to match method
> in mapping rules.
>
> https://docs.trafficserver.apache.org/en/latest/reference/plugins/regex_remap.en.html
>
> --
> Nick Kew
>

Reply via email to