Search squid archive

[squid-users] Configuration for abort redirection for dymanic urls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

I am trying to use viralator to scan download files but is facing problem with dynamic urls. Because viralator doesn't support dynamic urls. There fore I have obtained a configuration from someone else that will abort redirection if the symbols &, % etc is present in the url.
However I tried the configuration it didn't work for me. Can anyone tell me where went wrong?


My aim is to abort redirection for any urls that is dynamic. The following is the configuration I provided by someone else ( I tried it but it didn't work)

this is a part of the squid config file :

#  TAG: redirector_access
#       If defined, this access list specifies which requests are
#       sent to the redirector processes.  By default all requests
#       are sent.

acl noredirect url_regex "/etc/squid/noredirect"
acl toto src 172.0.0.0/255.0.0.0

redirector_access deny noredirect
redirector_access allow toto


############### content of /etc/squid/noredirect" ###############

\&
\=
\?
"&"
"="
"?"
&
=
\?

#################################################"""

Can someone correct me on where went wrong?
thanks a lot,



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux