Cache Apache : no explicit expiration time
Bonjour,
Sur un serveur Redhat EL 5 (MONSERVER), j'ai installé un APACHE 2.2.11.
J'ai configuré mon Apache de la manière suivante:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| ProxyPass / http://site-distant/
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyVia On
<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheRoot /var/cache/httpd
CacheEnable disk /
CacheDefaultExpire 120
CacheMaxExpire 120
CacheDirLevels 5
CacheDirLength 3
</IfModule>
</IfModule>
</IfModule> |
L'URL "http://MONSERVER/maPage.php3?var_mode=recalcul" me renvoie une page XML (en fait un flux RSS).
Je veux que cette page soit mise dans le cache Apache.
Mais dans le répertoire "/var/cache/httpd", je ne trouve rien !!
Dans mon ERROR_LOG, j'ai le message suivant:
Citation:
[debug] mod_cache.c(528): cache: /maPage.php3?var_mode=recalcul not cached. Reason: Query string present but no explicit expiration time
Quel est le problème ?
Merci pour votre aide.