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

From: Yong Bong Fong <[email protected]>
Date: Mon, 14 Feb 2005 10:50:04 +0800

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,
Received on Sun Feb 13 2005 - 19:48:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST