You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Hong Ye (JIRA)" <ji...@apache.org> on 2014/03/17 14:20:42 UTC

[jira] [Created] (TS-2646) Please add case-insensitive regex map

Hong Ye created TS-2646:
---------------------------

             Summary: Please add case-insensitive regex map 
                 Key: TS-2646
                 URL: https://issues.apache.org/jira/browse/TS-2646
             Project: Traffic Server
          Issue Type: New Feature
          Components: Plugins
            Reporter: Hong Ye


I have requests to do case-insensitive regex redirect. Something like below:

map http://mycareers.com http://jobs.mycompany.com @plugin=/libexec/trafficserver/regex_remap.so
@pparam=/etc/trafficserver/regexmap/mycareers.com.reg

In /etc/trafficserver/regexmap/mycareers.com.reg:

	^/nasr http://jobs.mycompany.com/careers-link

I need to be able to match any combinations of upper/lower case characters, basically case_insensitive match.

According to Leif, the option is not possible today but can be added.
------
I don’t think that’s possible today, but if you file a Jira ticket, we’ll make sure to add it. We could just add an option @case_insensitive I think.
-----

Could you please add it to the plugin?

Thanks



--
This message was sent by Atlassian JIRA
(v6.2#6252)