[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-httpd-dev
Subject: Re: related config directives
From: Ryan Bloom <rbb () covalent ! net>
Date: 2001-12-29 18:05:40
[Download RAW message or body]
On Wednesday 26 December 2001 08:10 am, Greg Ames wrote:
> Ryan Bloom wrote:
> >
> > Since
> > we already know that we need this general ability for some of the auth
> > directives (see John Sterling's posts about some of the problems with AuthType
> > and AuthName), I would much rather have a generic function that will
> > manipulate the tree itself.
>
> Swapping things in the config tree breaks if the nodes involved are in
> different scopes:
>
> AuthType basic
>
> <Directory /docroot/flintstone >
> AuthName Fred
> </Directory >
>
> <Directory /docroot/rubble >
> AuthName Barney
> </Directory >
>
> I think that's a legitimate config. But if we swapped AuthName &
> AuthType, we would destroy it.
That shouldn't be a legitimate config IMHO. However, I would suggest that
the swap function should only be used to swap things on the same level of
the config tree.
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic