httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] Detect missing </Directive> at end-of-file
Date Tue, 21 Oct 1997 00:31:55 GMT
There's another bug with those directives:

<Directory /foo>
# whatever
</DirectoryMatch>

is valid.

To properly implement these suckers the cmd_params should know about
recursion and know about the end token, and this magic ending message hack
should be ditched. 

+1 anyhow. 

Dean

On Sun, 19 Oct 1997, Martin Kraemer wrote:

> For the directives <Directory>, <DirectoryMatch>, <Location>, <LocationMatch>,
> <Files>, <FilesMatch>, <IfModule> and <VirtualHost>, the check
if the
> block is closed properly at end of file was missing. That can lead to
> very confusing behavior, so the patch tries to address this problem with
> an error message, preventing apache from starting with an erronous config
> file.
> 
>     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