[Rabbit-proxy-users] Empty files in cache
Brought to you by:
ernimril
From: Micah S. <mi...@cn...> - 2003-02-06 20:40:32
|
Hi, I'm new to rabbit this list, so forgive me if I'm missing something obvious. We're testing out rabbit on a computer here (adios.tco.net), and it mostly works fine. The main problem is that when we access http://www.tco.net (hosted on the same machine), we get a blank page. This doesn't happen on the first access, though. When it's first accessed, everything comes through fine, but a zero-length file is stored in the cache for that web page and all of the images it loads. Then subsequent accesses of the page return the empty files. This doesn't seem to happen on any other web pages (at least we haven't found any) or even on the same web pages under different names. I.e. http://adios.tco.net/, http://208.21.241.1/ and http://www.tco.net/index.html (!) all work fine (except with the last one, if the images were already in cache as empty files, they are served that way). It's got me baffled. Below is my rabbit.conf, comments removed. On a side note, it doesn't seem to convert GIFs to JPEGs, I'm not sure why. That is, however, a very minor problem. Thanks in advance for your help, Micah ------------rabbit.conf------------- [rabbit.proxy.Proxy] loglevel=WARN port=9666 accesslog=/var/log/rabbit/access_log errorlog=/var/log/rabbit/error_log proxyhost= proxyport= proxyauth= maxconnections=500 logo=http://$proxy/FileSender/public/smallRabbIT2.gif allowSSL=no [Handlers] image/gif=rabbit.handler.ImageHandler image/jpeg=rabbit.handler.ImageHandler image/png=rabbit.handler.ImageHandler text/html=rabbit.handler.GZIPHandler text/html; charset\=iso-8859-1=rabbit.handler.GZIPHandler text/html; charset\=ISO-8859-1=rabbit.handler.GZIPHandler text/plain=rabbit.handler.GZIPHandler [CacheHandlers] [rabbit.cache.NCache] directory=/var/cache/rabbit/ cachetime=24 maxsize=12 [rabbit.io.ConnectionHandler] keepalivetime=15000 [Filters] accessfilters=rabbit.filter.AccessFilter httpinfilters=rabbit.filter.HTTPBaseFilter,rabbit.filter.ProxyAuth httpoutfilters=rabbit.filter.HTTPBaseFilter [rabbit.filter.AccessFilter] accessfile=/usr/local/rabbit/conf/access [rabbit.filter.HTTPBaseFilter] remove=Connection,Proxy-Connection,Keep-Alive,Public,Transfer-Encoding,Upgrade,Proxy-Authorization,TE,Proxy-Authenticate,Trailer userfile=/usr/local/rabbit/conf/users [rabbit.filter.ProxyAuth] userfile=/usr/local/rabbit/conf/allowed [rabbit.filter.BlockFilter] blockURLmatching=.sex.,.ad.,.ads.,/ad. [rabbit.handler.ImageHandler] convert=/usr/bin/convert convertargs=-quality 30 $filename[0] jpeg:$filename.c [rabbit.handler.FilterHandler] filters=rabbit.filter.BodyFilter,rabbit.filter.BackgroundFilter,rabbit.filter.AdFilter,rabbit.filter.BlinkFilter,rabbit.filter.LowresImageFilter [rabbit.handler.GZIPHandler] compress=true [rabbit.filter.BackgroundFilter] [rabbit.filter.BodyFilter] prefix=<center><font size=-2><a href="http://rabbit-proxy.sf.net/" target="_top">RabbIT</a> filtered this page. postfix=</font></center><br> unfilteredlink=true link=unfiltered page [rabbit.filter.DontFilterFilter] dontFilterURLmatching=login.passport.com [rabbit.filter.DontCacheFilter] [rabbit.filter.AdFilter] adlinks=/ad/,/ads/,/ads2/,/netadsrv.,/ad.,/ads.,/ads2.,.ad.,.ads.,/ads1.,.ads1.,/adv/,/cadv/,/adserver.,/adlog.,.adbannercenter.,/nsads.,adclick.,/banner.,/banner/,/adverts/,.linkexchange.,/acc_clickthru,/adfinity,event.ng,/surfad,/redirect.,/gen_addframe,/m=,/ad=,/adclick.,/adfu.,?adnum=,.adzerver.,?advert=,?adname=,adforce.,/site_id=,copyleft.net,support.net,valinux.com,/ad_click,/redir.,?assoc= adreplacer=http://$proxy/FileSender/public/NoAd.gif [rabbit.filter.LowresImageFilter] |