You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stuart Otway <st...@moveassist.com> on 2002/05/09 18:31:55 UTC
can apache running on a specified port only allow certain IPs in?
hi there,
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.
Stuart.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: can apache running on a specified port only allow certain IPs
in?
Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 9 May 2002, Joshua Slive wrote:
> 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" <st...@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
>
Or, perhaps I misread the question. You want to control based on client
IP or server IP? For client IPs, you do indeed need to use apache access
control:
http://httpd.apache.org/docs-2.0/mod/mod_access.html
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: can apache running on a specified port only allow certain IPs
in?
Posted by Joshua Slive <jo...@slive.ca>.
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" <st...@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
Re: can apache running on a specified port only allow certain IPs in?
Posted by Steve Leach <sl...@askalix.com>.
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!
Best Regards,
Steve Leach
Network Manager
Miami International Limited
Eaglescliffe Logistics Centre
Durham Lane
Egglescliffe
URL: http://www.askalix.com
TEL: 01642 356205
e-mail: sleach@askalix.com
----- Original Message -----
From: "Stuart Otway" <st...@moveassist.com>
To: <us...@httpd.apache.org>
Sent: Thursday, May 09, 2002 5:31 PM
Subject: can apache running on a specified port only allow certain IPs in?
> hi there,
>
> 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.
>
> Stuart.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org