As Francesco discovered, this can cause trouble if those striings appear
elsewhere in the url (especially common with ace and rar files)
Here is the regex I use to separate archive & multimedia files on my web
cluster:
acl zips urlpath_regex -i
\.(zip|mp3|exe|r..|bz2|sit|mpga|hqx|mpg|tgz|ip|mpeg|mid|gz|dxtheme|pdf|mov|wav|avi|lzh|bin|wba|asf|ra|adz|tar|rm)$
-- Brian
On Saturday 22 December 2001 04:09 pm, Dave Raven wrote:
> Having never done this, I cannot say it works -- but I suspect it will
> Also I am not sure of how url_regex works however, can you specify
> extensions?
> Anyway, someone will most likely need to correct me, but is this not
> possible? :
>
> acl lanip dst 192.16.1.0/255.255.255.0
> acl blsite urlpath_regex mp3 exe zip ace mpg mpeg wmv avi rm rar gz
> (ETC...)
Received on Sun Dec 23 2001 - 11:14:33 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:28 MST