RE: [users@httpd] what do I need to activate chacheing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can't see any reasons why this should not work.

However:
- Does the CacheRoot exist ?
- Is it writeable by the apache process owner ?
	- Do you have a User directive in your configuration ?
	- Does the user specified by the User directive have write access to the CacheRoot directory?

-ascs

-----Original Message-----
From: robert rottermann [mailto:robert@xxxxxxxxx] 
Sent: Friday, May 13, 2005 12:39 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] what do I need to activate chacheing?

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux