Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 15948 invoked from network); 6 Dec 2004 06:56:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Dec 2004 06:56:00 -0000 Received: (qmail 56320 invoked by uid 500); 6 Dec 2004 06:55:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 56304 invoked by uid 500); 6 Dec 2004 06:55:44 -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 56290 invoked by uid 99); 6 Dec 2004 06:55:44 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.vu.lt (HELO voruta.vu.lt) (193.219.80.13) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Dec 2004 22:55:42 -0800 Received: from enc.auth.sc.vu.lt ([193.219.80.103]) by voruta.vu.lt (VU20031031) with ESMTP id iB66ta1G009053 for ; Mon, 6 Dec 2004 08:55:37 +0200 (EET) From: Eimantas =?windows-1257?q?Vai=E8i=FBnas?= Reply-To: eimantas.vaiciunas@sc.vu.lt To: users@httpd.apache.org Date: Mon, 6 Dec 2004 08:55:16 +0200 User-Agent: KMail/1.6.2 References: <20041206051607.E1615190040@mail.coldswim.com> In-Reply-To: <20041206051607.E1615190040@mail.coldswim.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1257" Content-Transfer-Encoding: quoted-printable Message-Id: <200412060855.16639.eimantas.vaiciunas@sc.vu.lt> X-eShield-AntiVirus: Passed X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield X-eShield-AntiVirus: Passed X-eShield-AntiVirus-Message: Scanned by http://www.bluecoat.com/eShield X-Virus-Checked: Checked Subject: Re: [users@httpd] Sample Httpd.conf X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Monday 06 December 2004 07:15, Mark Huth wrote: > I'm struggling through my first setup of Apache 1.x. I'm using Debian and > I've a working website up and running. > > However, I'd like to restrict public access to only one directory, while > allowing private access to users only behind our firewalls. > > I tried the following in the main directory section of httpd.conf: > > # Controls who can get stuff from this server. > # > Order deny,allow > Allow from 192.168.x.x > Allow from our_internal_domain.com > Allow from our_external_domain.com > Deny from all > Since your allow directives go before deny directive you should write: Order allow,deny =2D-=20 Eimantas Vai=E8i=FBnas VU Skai=E8iavimo centras --------------------------------------------------------------------- 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