Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32584 invoked from network); 18 May 2004 15:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 May 2004 15:36:46 -0000 Received: (qmail 44236 invoked by uid 500); 18 May 2004 15:36:31 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 44109 invoked by uid 500); 18 May 2004 15:36:31 -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 44003 invoked by uid 98); 18 May 2004 15:36:29 -0000 Received: from ste@smxy.org by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(64.32.179.41):. Processed in 0.030713 secs); 18 May 2004 15:36:29 -0000 X-Qmail-Scanner-Mail-From: ste@smxy.org via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(64.32.179.41):. Processed in 0.030713 secs) Received: from unknown (HELO peter.smxy.org) (64.32.179.41) by hermes.apache.org with SMTP; 18 May 2004 15:36:29 -0000 Received: from localhost (localhost [127.0.0.1]) by peter.smxy.org (Postfix) with ESMTP id CD627250E for ; Tue, 18 May 2004 11:36:07 -0400 (EDT) Received: from smxy.org ([127.0.0.1]) by localhost (peter.smxy.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 28461-02 for ; Tue, 18 May 2004 11:36:07 -0400 (EDT) Received: from smxy.org (watchdog.blackdogsoft.net [65.206.7.158]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by peter.smxy.org (Postfix) with ESMTP for ; Tue, 18 May 2004 11:36:07 -0400 (EDT) Message-ID: <40AA2D65.8060509@smxy.org> Date: Tue, 18 May 2004 11:36:05 -0400 From: "Shaun T. Erickson" Reply-To: ste@smxy.org User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org References: <40AA29AD.2000408@smxy.org> <17c401c43cec$3fb9dbf0$652e50d5@profundis.se> In-Reply-To: <17c401c43cec$3fb9dbf0$652e50d5@profundis.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p9 at smxy.org X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Want to restrict access to a single host X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Robert Andersson wrote: > Shaun T. Erickson wrote: > >>I have a webserver in my DMZ. I want to restrict access to one of the >>virtual hosts, to a particular ipaddress. How do I do that? > > > > DocumentRoot /some/path > > Order deny,allow > Deny from all > Allow from 1.2.3.4 > > Thanks. Will this work also? DocumentRoot /some/path Order Deny,Allow Deny from all Allow from 1.2.3.4 -ste --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org