[Rabbit-proxy-users] Image Problems
Brought to you by:
ernimril
From: Samuel H. <Sam...@Co...> - 2004-03-29 14:26:51
|
I am using Rabbit Proxy with the following versions... ImageMagick 5.5.7 java version "1.4.2_04" Rabbit 2.0.29 I am seeing problems when a browser has a cached image. For example, the browser will request the image from the proxy but it does not show up in the browser (red x). I can see in the logs the request but cannot see anything in error logs. If I clear the cache in the browser the image will show up. (The cached image is the compressed JPEG image) Also, occasionally I will get "gateway timeouts" and I click refresh in the browser the page shows up. I do get an error in these cases... [29/Mar/2004:13:40:23 GMT][WARN][Error writing request:java.net.SocketTimeoutException: Read timed out] My rabbit.conf file is below. Thanks... Sam ---------------------------------------------------------------- # This is a minimal file that will compress text/html and images # it will not remove advertising or background images. # For more information see rabbit.conf.orig. [rabbit.proxy.Proxy] loglevel=WARN #loglevel=DEBUG port=500 accesslog=logs/access_log errorlog=logs/error_log proxyhost= proxyport= proxyauth= maxconnections=500 logo=http://$proxy/FileSender/public/smallRabbIT2.gif allowSSL=443,444,445 # allow to these ports. serverIdentity=..__-DialUp-__.. StrictHTTP=false [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=/usr/local/proxy/cache cachetime=48 maxsize=30000 [rabbit.io.ConnectionHandler] keepalivetime=30000 usepipelining=false [Filters] accessfilters=rabbit.filter.AccessFilter httpinfilters=rabbit.filter.HTTPBaseFilter,rabbit.filter.DontFilterFilte r httpoutfilters=rabbit.filter.HTTPBaseFilter [rabbit.filter.AccessFilter] accessfile=conf/access [rabbit.filter.HTTPBaseFilter] remove=Connection,Proxy-Connection,Keep-Alive,Public,Transfer-Encoding,U pgrade,Proxy-Authorization,TE,Proxy-Authenticate,Trailer userfile=conf/users cookieid=false [rabbit.filter.ProxyAuth] userfile=conf/allowed [rabbit.handler.ImageHandler] convert=/usr/local/bin/convert #convertargs=-quality 10 $filename[0] jpeg:$filename.c #convertargs=-quality 20 -flatten $filename jpeg:$filename.c #convertargs=-quality 20 -flatten $filename jpeg:$filename.c convertargs=-quality 30 -flatten $filename jpeg:$filename.c #convertargs=-quality 10 $filename jpeg:$filename.c [rabbit.handler.GZIPHandler] compress=true [rabbit.filter.DontFilterFilter] dontFilterURLmatching=login.passport.com,.jar,www.ureach.com dontFilterAgentsMatching=Java |