From owner-freebsd-questions Thu Nov 22 22:25:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 0CE6F37B418 for ; Thu, 22 Nov 2001 22:25:06 -0800 (PST) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 4774E2B696; Fri, 23 Nov 2001 07:25:02 +0100 (CET) Received: by k7.mavetju.org (Postfix, from userid 1001) id B6D5F13D; Fri, 23 Nov 2001 17:24:55 +1100 (EST) Date: Fri, 23 Nov 2001 17:24:55 +1100 From: Edwin Groothuis To: David Loszewski Cc: freebsd-questions@freebsd.org Subject: Re: denying webserver access?? Message-ID: <20011123172455.E58388@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , David Loszewski , freebsd-questions@freebsd.org References: <000001c173e5$33a10460$3000a8c0@sickness> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000001c173e5$33a10460$3000a8c0@sickness>; from stealth215@mediaone.net on Fri, Nov 23, 2001 at 01:07:59AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 23, 2001 at 01:07:59AM -0500, David Loszewski wrote: > Is there a way to deny someone access from viewing anything web pages on > a web server? I tried to put 'httpd::deny' in the hosts.allow file > but that didn't work. As far as I know, Apache HTTPD doesn't use the hosts.allow file. Two solutions: - put in every directory in your webserver a .htaccess-file (maybe you can do something with access.conf instead of that) - use ipfw to disable access on port 80 from that host. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: ------------------+ http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message