From owner-freebsd-isp Tue Dec 5 8:39:16 2000 From owner-freebsd-isp@FreeBSD.ORG Tue Dec 5 08:39:13 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from rad3.1stup.com (rad3.1stup.com [209.143.242.34]) by hub.freebsd.org (Postfix) with ESMTP id E8EDF37B401 for ; Tue, 5 Dec 2000 08:39:12 -0800 (PST) Received: from veager (ip51.jackson10.ms.pub-ip.psi.net [38.36.61.51]) by rad3.1stup.com (8.10.1/8.10.1) with SMTP id eB5Gcn900887; Tue, 5 Dec 2000 08:38:50 -0800 Message-ID: <007901c05ed9$d6246f00$333d2426@siteplus.net> From: "Jim Weeks" To: "Mihai Claudiu Capatina" , "Gabriel Ambuehl" Cc: References: <15473937196.20001205161309@buz.ch> <3A2D1585.7041BA54@aignet.ro> Subject: Re: htaccess only protecting one specific subdir? Date: Tue, 5 Dec 2000 11:38:41 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0076_01C05EAF.EAFB4F40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0076_01C05EAF.EAFB4F40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have done a little experimenting and discovered that you can cut this = down to only the directive in subdirectories. In other words, = if you only wanted to protect the higher level directory, you would = place a complete .htaccess file into / and then place the following in = any /subdirectory that you want to enjoy complete access. require Jim ------=_NextPart_000_0076_01C05EAF.EAFB4F40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have done a little experimenting and = discovered=20 that you can cut this down to only the <Limit > directive in=20 subdirectories.  In other words, if you only wanted to protect the = higher=20 level directory, you would place a complete .htaccess file into / and = then place=20 the following in any /subdirectory that you want to enjoy complete=20 access.
 
<Limit >
   =20 require
</Limit>
 
Jim
------=_NextPart_000_0076_01C05EAF.EAFB4F40-- ________________________________________________________ 1stUp.com - Free the Web Get your free Internet access at http://www.1stUp.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message