Apache mod_cache

I have a problem and even not getting anywhere. I enabled mod_cache and furnished. Unfortunately, he writes the cache is not in the folder where it should write down him. Besides, I’ve read that, that caching is only possible with html pages with graphics or data and not with PHP.


ProxyRequests On
ProxyVia On
ProxyPass /test xxxxxx
<Proxy *>
        Order deny,allow
        Deny from all
        Allow from all

</Proxy>

<IfModule mod_cache.c>
        <IfModule mod_cache.c>
                CacheDefaultExpire 3600
                CacheRoot /var/cache/apache2/
                #CacheSize 1000
                CacheEnable disk http://xxxxx
                CacheDirLevels 2
                CacheDirLength 3
        </IfModule>
        <IfModule mod_mem_cache.c>
                CacheEnable mem /
                MCacheSize 4096
                MCacheMaxObjectCount 100
                MCacheMinObjectSize 1
                MCacheMaxObjectSize 2048
        </IfModule>

I have loaded all the modules and are found in / etc/sysconfig/apache2 inside

nobody a idea