Le 02/12/2020 à 16:59, Ran Mozes 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-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to