httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mikael PIRIO" <mik...@pirio.org>
Subject [users@httpd] configuration for a proxy-cache with Apache don't work.
Date Thu, 01 Jan 1970 00:00:00 GMT
Hello,

(excuse for my bad english, i'm french ;p)

I have compiled apache 2.0.47 and it works fine. I would like to configure a
proxy-cache with it and i wouldn't cache a particular domaine or host... But
i can't !

I have the modules mod_proxy, mod_cache, mod_disk_cache and 
proxy_http compiled in apache :

# apachectl -l
Compiled in modules:
  core.c
  mod_access.c
  mod-auth.c
  mod_cache.c
  mod_disk_cache.c
  mod_mem_cache.c
  ...
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  ...

The proxy works fine...

It's the part of my httpd.conf about the proxy-cache :

ProxyRequests On

CacheRoot /var/cache/apache2/
CacheSize 102400
CacheDirLevels 2
CacheDirLength 2
CacheEnable disk /
CacheDisable http:/:www.siteToNotCache.com


When i load www.hostToNoCache.com, the proxy-cache put it in the cache...
why ? Perhaps my CacheDisable directive isn't have the good parameter ?

And could we cache only a domain with the CacheEnable directive with a line
like : CacheEnable disk http://www.siteToCache.com/ ?


Thanks for your help,

-- 
Mikaƫl,



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message