Re: url_regex question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 12 Dec 1998 22:30:55 +0100

Irfan Akber wrote:

> acl url1 url_regex \.(exe|zip|mpg)$

Any URL ending in .exe .zip or .mpg, looking at the whole URL including
host name.

> acl exefile urlpath_regex \.(exe|EXE|Exe|)$

Any URL ending in .exe .EXE or .Exe, looking at the path of the URL only
(the part after the hostname[:port]). Despite the name this includes any
query parameters.

These two are practically the same here, but urlpath_regex is a little
bit faster.

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Dec 12 1998 - 14:22:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:38 MST