Re: [squid-users] FQDN requests only

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 16 Sep 2003 13:55:56 +0200 (CEST)

On Tue, 16 Sep 2003, Hegedus, Ervin wrote:

> hello,
>
> > Can we configure our Squid to allow requests only for fully qualified domain names. And deny all requests made for IP addresses.
>
> hmm..
>
> may be - try to play with regexp's:
>
> acl ipreg urlpath_regex ^https?://[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/.*$

Would work better with url_regex..

(urlpath_regex only looks into the pathname after the hostname..)

Regards
Henrik
Received on Tue Sep 16 2003 - 05:56:06 MDT

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