yOn Thu, 25 Mar 2004, Diamond King wrote:
>
> Here is my new ACL list :-
>
> cl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> acl magic_words2 urlpath_regex -i \.exe$ \.mp3$
> no_cache deny magic_words2
>
> But somehow, when i check the access.log files using
> the command stated in sq
Here is my new ACL list :-
cl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl magic_words2 urlpath_regex -i \.exe$ \.mp3$
no_cache deny magic_words2
But somehow, when i check the access.log files using
the command stated in squid's
FAQ,http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.2,
On Wed, 24 Mar 2004, Diamond King wrote:
> *snip*
> acl QUERY urlpath_regex cgi-bin \?
> acl magic_words2 url_regex -i .exe .mp3
> no_cache deny QUERY magic_words2
What you want is
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
acl magic_words2 url_regex -i \.exe$ \.mp3$
no_cache deny m
> *snip*
> acl QUERY urlpath_regex cgi-bin \?
> acl magic_words2 url_regex -i .exe .mp3
url_regex is used to check the full url pattern.
Use the urlpath_regex.
"." (dot) is a special character on the pattern matching.Use the "\"
escape character infront of "."
file extensions like exe mp3 will
What happened is this:
acl magic_words2 url_regex -i .exe OR .mp3 OR .bat OR ...
no_cache deny QUERY AND magic_words2 AND OTHERACL AND ...
so it will only work if you have something like "http://www.exemple.com/
cgi-bin/filename.exe" or "http://www.exemple.com/
action.php?file=foo&name=bar" or s
Dear all,
Im using Squid version squid/2.5.STABLE1-20030121
and webmin to control the squid. The box is running
mandrake linux 9.1. Problem is i tried to avoid
caching certain type of files such as *.mpg *.exe etc
etc.. and here's my config for it :-
*snip*
acl QUERY urlpath_regex cgi-bin \?