Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 17:24:55 +1100
From:      Edwin Groothuis <>
To:        David Loszewski <>
Subject:   Re: denying webserver access??
Message-ID:  <>
In-Reply-To: <000001c173e5$33a10460$3000a8c0@sickness>; from 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 Groothuis   |              Personal website: |           Interested in MUDs? Visit Fatal Dimensions:

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <>