On Monday 27 August 2001 05:54, Bill Stoddard wrote:
> > From: "Roy T. Fielding" <[EMAIL PROTECTED]>
> > Sent: Monday, August 27, 2001 1:54 AM
> >
> > > Just out of curiosity, would it be easier if, for 2.0, we fixed the
> > > original bogosity of location walk by running it first, before
> > > directory walk, and simply forbid its use within .htaccess?  That would
> > > eliminate most of the issues regarding wasted time spent checking
> > > directories for things that are only virtual namespaces.
> >
> > I think the patches to date accomplish that.
> >
> > If you have a virtual namespace, and register a map_to_storage hook as
> > HOOK_MIDDLE, and it simply returns OK, then the second Location walk
> > won't even be walked again.
>
> I think what Roy is suggesting is that we eliminate the second
> LocationWalk. I am a tentative +1 on his suggestion. And it doesn't make
> sense to allow Location directives in .htaccess files (use of Location
> implies we are not serving out of the file system anyway). I don't see any
> problems right off hand...

Just a question, but what if you are using .htaccess files to partition things
up for virtual hosts?  For example, I am running a server and both Roy and
Bill have sites on it.  Since I am a control freak, I refuse to give either access
to httpd.conf, but because I am also lazy, I have allowed both to use
.htaccess files.  In that case, don't people need to be able to put <localtion>
directives inside of .htaccess files?

Ryan
______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to