trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leif Hedstrom <zw...@apache.org>
Subject Re: Remap/regex_remap consolidation
Date Wed, 26 Mar 2014 01:58:45 GMT

On Mar 25, 2014, at 7:51 PM, Brian Geffon <briangeffon@gmail.com> wrote:

> What Thomas called Question #1 -- 1 Regex.
> 

Makes sense to have them combined. Assuming groups etc. works, that allows you to do e.g.

   regex_map http://(.*)\.ogre\.com/([^/]+)/(.*)  http://$2/$1/$3


or some such. i.e. take parts from the path match and use as the host, and vice versa. Right?
:)

Cheers,

— Leif


Mime
View raw message