httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject Re: [STATUS] 1.3b3-dev Thu Nov 13 09:41:14 EST 1997
Date Fri, 14 Nov 1997 09:12:58 GMT
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.

| S I E M E N S |  <>  |      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

View raw message