> *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.


Reply via email to