httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert rottermann <>
Subject [users@httpd] what do I need to activate chacheing?
Date Fri, 13 May 2005 10:39:11 GMT

I have the following setting,
but the CacheRoot directory is always empty. I therefore assume, that
chache is not working at all.
How can I check if it is working.


//<IfModule mod_proxy.c>

    <Proxy *>
        Order deny,allow
        Deny from all
        /#Allow from

    /# prevent the webserver from beeing used as proxy/
    <LocationMatch "^[^/]">
        Deny from all
    /# allow to connect to localhost with port ending with 80 and 90 (www, webdav)/
    /# the having at least 2 digets before the 80 or 90/
    <ProxyMatch http://localhost:[0-9]{2,}?[8|9]0/.*>
            Order deny,allow
            Allow from all

    ProxyVia On

    /# To enable the cache as well, edit and uncomment the following lines:/
    /# (no cacheing without CacheRoot)/

    CacheRoot "/var/cache/apache2/proxy"
    /# 300MB/
    CacheSize 307200
    /# in hours/
    CacheGcInterval 4
    CacheMaxExpire 24
    CacheLastModifiedFactor 0.1
    CacheDefaultExpire 1
    CacheForceCompletion 70
    /# Again, you probably should change this./


/# caching/
/# this caches every file with the correct caching informations starting at //
<IfModule mod_disk_cache.c>
    CacheEnable disk /
<IfModule mod_mem_cache.c>
    CacheEnable mem /

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message