httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjoern Voigt <>
Subject [users@httpd] Apache proxy keeps cache directory empty
Date Fri, 15 Apr 2016 21:02:18 GMT
Since some years I run a local Apache proxy cache for localhost and the network. My proxy cache directory /var/cache/apache-proxy
is cleaned by a htcacheclean weekly cron job.

In the meantime Apache stopped writing files in my cache directory
/var/cache/apache-proxy. The proxy function still works.

I doubt, that an Apache update with configuration directive changes may
have caused the problem. But I don't know after which event Apache
stopped caching.

Here is my Apache proxy configuration. I verified, that the modules
mod_proxy and mod_cache_disk are loaded, e.g. by making temporary syntax
errors between the "IfModule" directives and "apachectl configtest".
- Distribution: openSUSE Tumbleweed
- Apache 2.4.20
- /etc/apache2/conf.d/proxy.conf:

        ProxyRequests On
        ProxyVia On
        AllowCONNECT 443

        <Proxy *>
          Require ip ::1

<IfModule mod_cache.c>
<IfModule mod_cache_disk.c>
        CacheRoot /var/cache/apache-proxy
        CacheEnable disk /
        CacheDirLevels 2
        CacheDirLength 2

How can I debug the problem?
(Btw. "strace" shows, that the cache configuration directory
/var/cache/apache-proxy is never touched by Apache.)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message