> Besides using the old version of ATS, which is not supported, your
> config acts slightly oddly. I think it might even be a bug (it
> doesn’t run the rules in the order you’d expect, i.e. it matches the
> second regex first).
OK, I successfully ported ATS 4.2.x branch based on GIT 0c8d513 which
>> I want to keep objects like media (avi|jpg|mp3) for 7 days in cache while
>> telling the client "max-age=3d", keep office file for 3
>>days in cache while telling the client 1 day (using ATS 4.1.2 TTL are in
>>seconds)
>
>I think you are overcomplicating things a bit though, use the protocol
On Jun 10, 2014, at 3:18 AM, geo...@free.fr wrote:
>> - what is the best place to modify header for a group of document type like
>> images, remap.config (regex_map+header_rewrite) or cache.config ?
>
>Best place? On the origin for sure. If you for some reason can’t do that,
>header_rewrite oug
Hi all,
3 questions :
- could a "regex_suffix" rule be added into future version of ATS, someone can
use it to match in one rule all kind of image like
"suffix_regex=(png|bmp|jpg|jpeg|gif)" instead of writing one line by suffix ?
- what is the best place to modify header for a group of document t
Hello,
My problem was solved, there was another typo in my remap.config.
Sorry for the noise and thank you all for the good job.
Denis
- Mail original -
De: geo...@free.fr
À: dev@trafficserver.apache.org
Envoyé: Lundi 26 Mai 2014 12:01:01
Objet: Re: [ATS 4.1.2] rewrite_header confusion
Hi,
I enabled diags in traffic.out as you told except it does not work the diags
has to be specified like this :
CONFIG proxy.config.diags.debug.tags STRING header_rewrite
I removed the call to "header_rewrite" in plugin.config and tried one
header_rewrite config file by tld as explained earlie
Hi,
I am trying to set up several rewrite header rules files to use one by a
regex_map rule based on tld.
I can't get them parsed during ATS startup :
==> error.log <==
20140522.11h18m41s header_rewrite: failed to parse configuration file
I'm running FreeBSD 9.2 release, ATS 4.1.2 built from port