Re: enforcing file transmission in gzip format with Apache 2.4.46

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AddOutputFilter DEFLATE uar
combined with 'IfSetEnv force-gzip‘ worked.  

Thanks! 
Ran 

> Am 02.12.2020 um 22:24 schrieb Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>:
> 
> Le 02/12/2020 à 16:59,  a écrit :
>> Hi,
>> I'd like to configure the server to always send the requested *.uar files in gzip format back to the client.
>> The following configuration is used but it only works if the client (for example curl) runs with '—compressed' flag.
>> I read that "SetEnv force-gzip“ should do that but it has no impact in that context.
>> <Directory "/var/opt/web/pub">
>>     Options Indexes MultiViews FollowSymLinks
>>     AllowOverride None
>>     Require all granted
>>     SetEnv force-gzip
>>     SetOutputFilter DEFLATE
>>     AddOutputFilter DEFLATE *.uar
>> </Directory>
>> Regards and TIA,
>> Ran
> 
> Hi,
> 
> The last argument of AddOutputFilter is the file extension, not a match pattern.
> Can you try with:
>   AddOutputFilter DEFLATE uar
> ?
> 
> Anyway, "SetOutputFilter DEFLATE" should be enough and should work, AFAIK.
> CJ
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux