Re: How to deny the null dstdomain

From: Kenn Sakai <xksakai@dont-contact.us>
Date: Tue, 11 Jul 2000 18:22:49 +0900

From: "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" <jm.fandino@fadesa.es>
Subject: Re: How to deny the null dstdomain
Date: Tue, 11 Jul 2000 09:38:01 +0200

> > I tried the following, but got "invalid ACL" message.

> > acl NoDomainName dstdom_regex ""

> I think that for a emply line in regex the nomenclature
> is "^$" without quotes.

Thank you very much. squid stopped complaining.

But I can still access to "http://localwebserver/XXXX".

I'm using squid-2.2.STABLE5 and corrected config is below

====================================
#
# append_domain is OFF
#
#append_domain .yourdomain.com

acl NoDomainName dstdom_regex ^$
http_access deny NoDomainName
====================================

Is there any way to deny the request without dstdomain name?

Thank you.
Received on Tue Jul 11 2000 - 03:26:45 MDT

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