Apache2 and mod_cache
Hi all,
I'm using apache 2.0.50 and am trying to get mod_cache installed and working.
I used apxs to compile mod_cache.c, mod_disk_cache.c anemod_mem_cache.c and I added these lines to my httpd.conf:
LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c>
LoadModule disk_cache_module modules/mod_disk_cache.so
<IfModule mod_disk_cache.c>
CacheRoot /www/sites/mysite.com/cache
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>
#LoadModule mem_cache_module modules/mod_mem_cache.so
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>
When I try to restart apache I get the error:
Cannot load /usr/local/apache/modules/mod_cache.so into server: /usr/local/apache/modules/mod_cache.so: undefined symbol: cache_generate_key_default
Can anyone help with this please?
Thanks
Shane
|