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 [EMAIL PROTECTED] Covalent Technologies [EMAIL PROTECTED] --------------------------------------------------------------