httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject [PATCH] Reject multiple arguments to <...> block directives
Date Sun, 19 Oct 1997 21:31:00 GMT
Some of the <...> directives allow multiple arguments, some don't. I was
tricked into believing that <Directory> and <Files> belonged to the former
type (but was wrong). IMO, it would be good to "make it work"
symmetrically, i.e., all <...> directives should accept multiple arguments
(ok, the <directory ~ path> syntax is not a goot candidate, but we have
<DirectoryMatch> now.)

Until this has been discussed over (would it be sufficient to insert a
do {...} while (*arg); loop into dirsection() to make it accept multiple
paths?) the appended patch at least makes the user
aware of an (otherwise silently ignored) argument.

    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