Re: [squid-users] no_cache issue

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 25 Mar 2004 12:51:30 +0530

> *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 come at the end of the url. So use $ at the end.

acl magic_words2 urlpath_regex -i \.exe$ \.mp3$

> no_cache deny QUERY magic_words2
>
> */snip*

Regards,
Muthukumar.
Received on Thu Mar 25 2004 - 00:21:28 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST