From owner-freebsd-isp Tue Dec 5 9:53:40 2000 From owner-freebsd-isp@FreeBSD.ORG Tue Dec 5 09:53:38 2000 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from ns.shawneelink.net (ns.shawneelink.net [216.240.66.11]) by hub.freebsd.org (Postfix) with ESMTP id 58ED437B400 for ; Tue, 5 Dec 2000 09:53:38 -0800 (PST) Received: from jan (gate14.shawneelink.net [216.240.79.14]) by ns.shawneelink.net (8.10.1/8.10.1) with ESMTP id eB5HrQV31432; Tue, 5 Dec 2000 11:53:26 -0600 (CST) Message-Id: <4.2.2.20001205115936.00b63a60@mail.jbacher.com> X-Sender: jb@mail.jbacher.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Tue, 05 Dec 2000 12:02:04 -0600 To: Gabriel Ambuehl , isp@FreeBSD.ORG From: Jan Bacher Subject: Re: htaccess only protecting one specific subdir? In-Reply-To: <15473937196.20001205161309@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 04:13 PM 12/5/00 +0100, Gabriel Ambuehl wrote: >Hello, >I'm desperately seeking for a way to protect a directory via .htaccess >and basic authentication which normally is pretty easy, but I need the >.htaccess to reside one directory level higher in the tree and still >only protect the one subdir: > >/.htaccess #should protect >/subdir #but leave all other files/directory open Use dbmmanage and specify the location of the auth file in your httpd.conf outside of your web root. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message