httpd-users mailing list archives

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

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.

thanks
Robert

//<IfModule mod_proxy.c>

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

    /# prevent the webserver from beeing used as proxy/
    <LocationMatch "^[^/]">
        Deny from all
    </LocationMatch>
      
    /# 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
    </ProxyMatch>

    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./
    /#NoCache a_domain.com another_domain.edu joes.garage_sale.com/

</IfModule>

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



---------------------------------------------------------------------
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