Re: [squid-users] refresh_pattern: regexp for trailing slash urls?

From: Kinkie <kinkie-squid@dont-contact.us>
Date: Wed, 15 Jan 2003 13:39:34 +0100

"SamKat" <samkat@hotmail.com> writes:

> Hi,
>
> I am using squid proxy cache.
>
> What is the regular expression used to catch urls that end in a trailing
> slash, such as:
> http://www.google.com/
> http://mirror.aarnet.edu.au/pub/ ?
>
> Are either the following two lines containing the correct regular
> expression?
> 1) refresh_pattern -i /$ 20160 90% 43200

This one is fine.

> 2) refresh_pattern -i \/$ 20160 90% 43200
>
> If so, which one? If not, then can you provide me with an example?

-- 
	kinkie (kinkie-squid [at] kinkie [dot] it)
	Random fortune, unrelated to the message:
What sin has not been committed in the name of efficiency?
Received on Wed Jan 15 2003 - 05:39:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:41 MST