# This is a stripped down config file for a caching only proxy. # For comment about the options see rabbit.conf.orig. [rabbit.proxy.HttpProxy] port=9667 proxyhost= proxyport= proxyauth= logo=http://$proxy/FileSender/public/smallRabbIT4.png #serverIdentity=..__-My own super proxy-__.. StrictHTTP=false [logging] access_log=logs/access_log access_size_limit=10 # in MB access_num_files=100 error_log=logs/error_log%g error_size_limit=1 # in MB error_num_files=10 access_log_level=INFO error_log_level=INFO [dns] dnsHandler=rabbit.proxy.DNSJavaHandler #dnsHandler=rabbit.proxy.DNSSunHandler [rabbit.proxy.DNSJavaHandler] dnscachetime=8 [rabbit.io.ConnectionHandler] keepalivetime=15000 usepipelining=false [rabbit.cache.NCache] directory=/tmp/rcache_only_caching cachetime=24 maxsize=10000 cleanloop=60 [Filters] accessfilters=rabbit.filter.AccessFilter httpinfilters=rabbit.filter.HttpBaseFilter httpoutfilters=rabbit.filter.HttpBaseFilter [sslhandler] allowSSL=443,444,8443 # allow to these ports. [rabbit.filter.AccessFilter] accessfile=conf/access [rabbit.filter.HttpBaseFilter] remove=Connection,Proxy-Connection,Keep-Alive,Public,Transfer-Encoding,Upgrade,Proxy-Authorization,TE,Proxy-Authenticate,Trailer userfile=conf/users cookieid=false [rabbit.filter.DontCacheFilter] #dontCacheURLmatching=(\.html|\.asp) #dontCacheURLmatching=(www\.chat\.com/index\.html) #onlyCacheURLmatching=(\.gif|\.jpeg) #dontCacheMimematching=text/html #dontCacheMimematching=text/ #onlyCacheMimematching=image/gif #onlyCacheMimematching=image