Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2000 12:02:04 -0600
From:      Jan Bacher <jb@jbacher.com>
To:        Gabriel Ambuehl <gabriel_ambuehl@buz.ch>, isp@FreeBSD.ORG
Subject:   Re: htaccess only protecting one specific subdir?
Message-ID:  <4.2.2.20001205115936.00b63a60@mail.jbacher.com>
In-Reply-To: <15473937196.20001205161309@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.2.20001205115936.00b63a60>