You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/03/19 01:46:43 UTC

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

    [ https://issues.apache.org/jira/browse/TS-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940022#comment-13940022 ] 

ASF subversion and git services commented on TS-2646:
-----------------------------------------------------

Commit ba7d394ea8c6edf5b7a0e2294bdc71316b5e87c1 in trafficserver's branch refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=ba7d394 ]

TS-2646 regex_remap: Add an option for @caseless, case insentive regexes.

Cleanup, and allow (some) config to work without parameters. Also adds docs.


> 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
>            Assignee: Leif Hedstrom
>             Fix For: 5.0.0
>
>
> 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)