httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [STATUS] 1.3b3-dev Thu Nov 13 09:41:14 EST 1997
Date Fri, 14 Nov 1997 09:21:44 GMT
If you made one of the cmd_param fields be the closing tag for a block (or
NULL if not in a block) then you can kill two birds with one stone ... the
other bird would be the code which looks for </Directory>, vs. 
</DirectoryMatch> -- right now you can use either to close a <Directory>
or <DirectoryMatch> block, and some error messages are wrong.

I'm not sure how clean that'd be ... 

Dean

On Fri, 14 Nov 1997, Martin Kraemer wrote:

> On Thu, Nov 13, 1997 at 01:35:21PM -0800, Dean Gaudet wrote:
> > +1.  BTW <Files> are meaningless inside <Location> ... one of Lars'
first
> > bug reports ever back when he was a prolific bug reporter :)  I don't
> > remember if you thing allows you to warn about that.
> 
> Right now, the check_cmd_context() routine has no way to distinguish
> between an enclosing <Location>, <Directory>, <Files> or .htaccess
block.
> The reason for this is that all three share a common pointer "cmd->path"
> which is tested in the routine.
> 
> Perhaps we should add a type tag which identifies the surrounding block?
> That would allow the check routine to deny <Files> within <Files>
> but allow <Files> within .htaccess/<Directory> and the like.
> 
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 


Mime
View raw message