LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help! Apache Reverseproxy & cache server (https://www.linuxquestions.org/questions/linux-general-1/help-apache-reverseproxy-and-cache-server-502108/)

maheshk78 11-16-2006 01:26 AM

Help! Apache Reverseproxy & cache server
 
hi,
I want to setup apache as a reverse proxy and a caching server.
I was able to setup the reverse proxy. but couldnt setup the caching server though I followed the procedure in the documentation to load the mod_cache module. Can some one tell me what I missed? Following is the configuration in my httpd.conf file.

LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so


<IfModule mod_cache.c>
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3
</IfModule>

<IfModule mod_file_cache.c>
CacheEnable file /
</IfModule>

<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 4096
MCacheMaxObjectCount 100
MCacheMinObjectSize 1
MCacheMaxObjectSize 2048
</IfModule>
</IfModule>


All times are GMT -5. The time now is 06:33 PM.