Stefano wrote:

> Ho un server con sarge e squid installato.
> Ho installato anche squidclam sul server in transparent proxy.
> Ma quando vado su questo sito
> 
> http://crerbd.regione.emilia-romagna.it/NXT/gateway.dll?f=templates&fn=default.htm
> 
> non si vede niente e mi rimane la pagina bianca: coma mai??
> 
> Se disabilito il redirect tutto funziona bene.

Hi Stefano,

I don't know if my Italian is good enough but as I understand your question I
think that your problem is a very common problem with squid.

Look into your squid.conf, there are options that cause squid to handle the "?"
in the URL in a certain way, usually those URL are not cached and I think in
your case it is affecting what is scanned by clamav.

The options I remember are:

#  TAG: hierarchy_stoplist
#       A list of words which, if found in a URL, cause the object to
#       be handled directly by this cache.  In other words, use this
#       to not query neighbor caches for certain objects.  You may
#       list this option multiple times.
#We recommend you to use at least the following line.
hierarchy_stoplist cgi-bin ?

#  TAG: no_cache
#       A list of ACL elements which, if matched, cause the request to
#       not be satisfied from the cache and the reply to not be cached.
#       In other words, use this to force certain objects to never be cached.
#
#       You must use the word 'DENY' to indicate the ACL names which should
#       NOT be cached.
#
#We recommend you to use the following two lines.
#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY
acl QUERY urlpath_regex cgi-bin
no_cache deny QUERY

Those are the options I'm using with a squid (that uses another squid to cache
things) that make it cache URL that include "?"; with squidclam it might be a
little different so check carefully SquidClam's instructions.

Hope this helps.
-- 
René Berber

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to