Date: Fri, 23 Nov 2001 17:24:55 +1100 From: Edwin Groothuis <edwin@mavetju.org> To: David Loszewski <stealth215@mediaone.net> Cc: freebsd-questions@freebsd.org Subject: Re: denying webserver access?? Message-ID: <20011123172455.E58388@k7.mavetju.org> In-Reply-To: <000001c173e5$33a10460$3000a8c0@sickness>; from stealth215@mediaone.net on Fri, Nov 23, 2001 at 01:07:59AM -0500 References: <000001c173e5$33a10460$3000a8c0@sickness>
next in thread | previous in thread | raw e-mail | index | archive | help
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:<ip>: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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123172455.E58388>