Hello,

I do have a particularly strange use case.  I'm getting multiple subdomains and 
trying to remap them as follows
(subdomain1|subdomain2|subdomain3|...).mysite.com/somefoo      -> 
www.mysite.com/$1/somfoo?param=value...


Thanks,
Elli



     



----- Original Message -----
From: Leif Hedstrom <zw...@apache.org>
To: dev@trafficserver.apache.org
Cc: Elli <lema...@yahoo.com>
Sent: Tuesday, February 28, 2012 11:51 PM
Subject: Re: Regex remap plugin support for full url

On 2/28/12 3:29 PM, Elli wrote:
> Hello,
> 
> The other day the regex remap plugin was kindly updated to support 
> redirects.  One more feature of the plugin I was trying to use was for 
> handling full urls.  The docs say this is configurable via the param 
> @pparam=[no-]full-url. This seems to have been stripped out now.  There is no 
> attempt being made to read this param.  I tried unsuccessfully to add it by 
> modifying the method TSRemapNewInstance to read the param
> 

I removed that because it was a) expensive/complicated to support and b) I 
thought it was fairly useless (but, then again, maybe I was wrong :). I did add 
it way back when, and never used it, hence I removed it now.

Can you explain exactly why you need this ? The one use case where it's maybe 
useful is if you use regex_map, is that what you are doing?

-- leif

Reply via email to