httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: can apache running on a specified port only allow certain IPs in?
Date Thu, 09 May 2002 16:44:46 GMT

On Thu, 9 May 2002, Steve Leach wrote:

> You could use a .htaccess file for the server running on one of the other
> (or both).
> In it specify the deny all but allow IP range wanted!

> From: "Stuart Otway" <stuart@moveassist.com>
> > can apache running on a specified port only allow certain IPs in?
> >
> > We have one apache running on port 80 and another apache running on port
> > 8200 on our server and wanted to only allow specific IP addresses to
> access
> > the server running on port 8200.  Does anyone know where i specify this?
> >
> > thanks in advance.

While apache access controls can be used, they are overkill in this
case.  The Listen directive is specifically designed to control the
addresses and ports that apache listens to:
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#listen

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message