You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Esmq <es...@163.com> on 2014/03/27 07:26:55 UTC

deactivatefilter in remap.config is broken ?!

hi,all


when upgrade to ats 4.2.0,  the Named filters directives changed!  (according to remap.config.sample),


so i do the following adjustment:


sed -i 's/^\.useflt/.activatefilter/' remap.config
sed -i 's/^\.defflt/.definefilter/' remap.config
sed -i 's/^\.unuseflt/.deactivatefilter/' remap.config
sed -i 's/^\.delflt/.deletefilter/' remap.config


but only to found that it will caused all access to ats is denied !


if i just make only this change,  it works like before ( sed -i 's/^\.useflt/.activatefilter/' remap.config )


so it seems that there is  something wrong with deactivatefilter~










Re:Re: deactivatefilter in remap.config is broken ?!

Posted by Esmq <es...@163.com>.
got it   ^_^

At 2014-03-28 00:34:46,"James Peach" <jp...@apache.org> wrote:
>On Mar 26, 2014, at 11:26 PM, Esmq <es...@163.com> wrote:
>
>> hi,all
>> 
>> when upgrade to ats 4.2.0,  the Named filters directives changed!  (according to remap.config.sample),
>> 
>> so i do the following adjustment:
>> 
>> sed -i 's/^\.useflt/.activatefilter/' remap.config
>> sed -i 's/^\.defflt/.definefilter/' remap.config
>> sed -i 's/^\.unuseflt/.deactivatefilter/' remap.config
>> sed -i 's/^\.delflt/.deletefilter/' remap.config
>> 
>> but only to found that it will caused all access to ats is denied !
>> 
>> if i just make only this change,  it works like before ( sed -i 's/^\.useflt/.activatefilter/' remap.config )
>> 
>> so it seems that there is  something wrong with deactivatefilter~
>
>https://issues.apache.org/jira/browse/TS-2671
>
>Only the longer directive names are documented, because the aliases are pointless. However, the short aliases are still supported for compatibility. Looks like the .useflt alias was accidentally dropped. I fixed this for 4.2.1 and 5.0
>
>J

Re: deactivatefilter in remap.config is broken ?!

Posted by James Peach <jp...@apache.org>.
On Mar 26, 2014, at 11:26 PM, Esmq <es...@163.com> wrote:

> hi,all
> 
> when upgrade to ats 4.2.0,  the Named filters directives changed!  (according to remap.config.sample),
> 
> so i do the following adjustment:
> 
> sed -i 's/^\.useflt/.activatefilter/' remap.config
> sed -i 's/^\.defflt/.definefilter/' remap.config
> sed -i 's/^\.unuseflt/.deactivatefilter/' remap.config
> sed -i 's/^\.delflt/.deletefilter/' remap.config
> 
> but only to found that it will caused all access to ats is denied !
> 
> if i just make only this change,  it works like before ( sed -i 's/^\.useflt/.activatefilter/' remap.config )
> 
> so it seems that there is  something wrong with deactivatefilter~

https://issues.apache.org/jira/browse/TS-2671

Only the longer directive names are documented, because the aliases are pointless. However, the short aliases are still supported for compatibility. Looks like the .useflt alias was accidentally dropped. I fixed this for 4.2.1 and 5.0

J