Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78831 invoked by uid 500); 9 May 2002 16:47:03 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78813 invoked from network); 9 May 2002 16:47:03 -0000 Received: from venus.commerce.ubc.ca (137.82.154.16) by daedalus.apache.org with SMTP; 9 May 2002 16:47:03 -0000 Received: from garibaldi.commerce.ubc.ca (garibaldi.commerce.ubc.ca [137.82.66.80]) by venus.commerce.ubc.ca (8.9.3/8.9.3) with ESMTP id IAA17027 for ; Thu, 9 May 2002 08:43:37 -0700 Date: Thu, 9 May 2002 09:47:05 -0700 (PDT) From: Joshua Slive X-X-Sender: To: Subject: Re: can apache running on a specified port only allow certain IPs in? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" > > > 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