Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 68118 invoked by uid 500); 11 Jan 2002 00:08:55 -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 68107 invoked from network); 11 Jan 2002 00:08:55 -0000 Received: from mail2.btigate.com (216.235.160.82) by daedalus.apache.org with SMTP; 11 Jan 2002 00:08:55 -0000 Received: (qmail 20164 invoked by uid 0); 11 Jan 2002 00:09:02 -0000 Received: from jsignalness@btinet.net by mail2 with qmail-scanner-0.93 (uvscan: v4.0.70/v4074. . Clean. Processed in 1.372398 secs); 10/01/2002 18:09:00 Received: from dsl89138.btigate.com (HELO jason.btinet.net) (216.235.161.99) by mail2.btigate.com with SMTP; 11 Jan 2002 00:08:59 -0000 Message-Id: <5.1.0.14.0.20020110180958.0281f050@mail.btinet.net> X-Sender: jsignalness@mail.btinet.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 10 Jan 2002 18:11:11 -0600 To: users@httpd.apache.org From: Jason Signalness Subject: RE: tricky password protection In-Reply-To: References: <3C3E1565.2050100@btinet.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 05:36 PM 1/10/2002 -0500, you wrote: > > From: Jason Signalness [mailto:jsignalness@btinet.net] > > > I made a confusing typo in the below message. Sorry... It's corrected > > here. Subdir "B" is supposed to only be accessible to users listed in > > password file "B". > > > > Jason Signalness wrote: > > > > > Hello, > > > > > > I've got a problem that I've been dealing with for a while. I want to > > > have two different password files for two different directories and one > > > is a subdirectory of the other. > > > > > > Ex: > > > > > > All files in /opt/bb/www and any subdirectories (except the one > > > mentioned below) should reference password file A. > > > > > > /opt/bb/www/subdirB and all subdirectories/files should reference > > > password file B. > > > > > > Any suggestions? I can only get subdirB to be accessible by > > > users listed in password file A. > > > > > > Thanks in advance. > >I've never tried to do this, but I'm guessing it can't be done in your >current setup. What I would do is this: > >1. Move subdirB to /opt/bb/subdirB. > >2. Add the following to httpd.conf: >Alias /subdirB /opt/bb/subdirB > >3. Protect each directory separately with sections that are no >longer nested. > >Joshua. That's the problem... I can't move the subdirectory. Thanks for the suggestion though... it would work that way, if I could only relocate the subdirectory. -Jason --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org