Re: How to deny the null dstdomain

From: Kenn Sakai <xksakai@dont-contact.us>
Date: Wed, 12 Jul 2000 11:51:40 +0900

From: Bert Driehuis <bert_driehuis@nl.compuware.com>
Subject: Re: How to deny the null dstdomain
Date: Tue, 11 Jul 2000 13:18:42 +0200

> > 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! :-)

"url_regex" acl can deny the no domain request,
but its regex seems to be pain.

Setting "append_domain .no.domain" also works fine.

Thank you very much.

<<<< Sakai
Received on Tue Jul 11 2000 - 20:54:32 MDT

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