Click to See Complete Forum and Search --> : Apache proxy caching problem ....


rk74
04-06-2003, 05:11 AM
I face a problem when I configure to use the Apache (2.0.45) as caching proxy server, installed on Windows 2000 pro., to reduce traffic over ISDN line.
When I try to examine Apache's error log file … I can't find any thing that points me to any problem … the same is for Windows errors log. Only what I get is a dialog box informing that there is a problem in some application and I have to restart it … of course the Apache server restarts by itself.
- usually, the problem appears when I inter to specific sites twice; for examples:

http://news.google.com/

- the problem usually does not appear from the first visit to a site (after clearing cache directory)
- the problem disappear when I remove all caching capabilities

Here is a related section of httpd.conf

....
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule cache_module modules/mod_cache.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so

<IfModule mod_cache.c>

CacheDefaultExpire 259200
CacheIgnoreNoLastMod On
CacheIgnoreCacheControl On

<IfModule mod_disk_cache.c>
CacheRoot "c:/proxy"
CacheSize 256
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
</IfModule>

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

</IfModule>

<IfModule mod_proxy.c>
ProxyRequests On
ProxyRemote * http://someproxy:8080
<Proxy *>
Order deny,allow
Deny from all
Allow from 10
</Proxy>
</IfModule>
...


Thank you for consideration,

rk74