Re: How to deny the null dstdomain

From: Bert Driehuis <bert_driehuis@dont-contact.us>
Date: Tue, 11 Jul 2000 13:18:42 +0200

Robert Collins wrote:

> If I understand your problem you want to deny any request that looks like:
> http://somelocalserver/xxx
> ^^^^^^^^^^^^^^^
>
> I would try
> acl NoDomainName url_regex -i http://.*[\.]{0}.*/
> http_access deny NoDomainName

... Or one could add
        append_domain .no.domain
to Squid.conf.

I added it to make sure that all Web site designers use fully qualified
domain names for their URL's, so people from all of our locations can
use the web site. It really drives home the point for my users! :-)

Cheers,

                                -- Bert

-- 
Bert Driehuis, MIS -- bert_driehuis@nl.compuware.com -- +31-20-3116119
Dihydrogen Monoxide kills! Join the campaign at http://www.dhmo.org/
Received on Tue Jul 11 2000 - 05:22:27 MDT

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