[
https://issues.apache.org/jira/browse/TS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071495#comment-13071495
]
Leif Hedstrom commented on TS-890:
----------------------------------
The first one we should fix, since Yahoo never open sourced the regex plugin :/.
As for the second one, are you certain that doesn't work? It used to work at
least few versions ago. I.e. I have a map rule on www.ogre.com with
{code}
@src_ip=1.2.3.4 @action=allow
{code}
and testing it right now, I can't access it on any machine other than this IP
(obviously I modified the IP above :). I'm not sure about the @method part
though, I haven't tested that.
> Out of date documentation in remap.config
> -----------------------------------------
>
> Key: TS-890
> URL: https://issues.apache.org/jira/browse/TS-890
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration
> Reporter: Manjesh Nilange
> Priority: Minor
>
> The section in paranthesis is a carry-over from Yahoo!:
> <snip>
> # 1) Only the host field can have regexes - the scheme, port and other
> fields cannot
> # (use yts_regex_remap plugin for path manipulation using regexes)
> </snip>
> As far as I can make out by looking at the code, these filtering parameters
> are not really implemented:
> <snip>
> # @action=allow|deny
> # @src_ip=IP-address
> # @method=HTTP method string
> (CONNECT|DELETE|GET|HEAD|ICP_QUERY|OPTIONS|POST|PURGE|PUT|TRACE|PUSH)
> </snip>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira