Bonjour,

Sur une Debian Etch, j'ai activé le mod_deflate pour Apache2. Mon deflate.conf contient:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
 
  SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
 
  Header append Vary User-Agent env=!dont-vary
  DeflateFilterNote Input instream
  DeflateFilterNote Output outstream
  DeflateFilterNote Ratio ratio
 
  LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
  CustomLog /var/log/apache2/deflate_log deflate
</IfModule>
Si j'en crois http://www.whatsmyip.org/mod_gzip_test/, le module fonctionne. Néanmoins, mon fichier de log /var/log/apache2/deflate_log reste vide.

Avez-vous une explication ? Merci.