You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by di...@covalent.net on 2002/07/19 21:25:21 UTC
Config file reading
While having to do some m4 stuff - I am looking at some config file
itches. In the perfect world; how should this be parsed - is all this
acceptable and equivanlent ?
ServerDirectory /tmp/foo/bar
ServerDirectory "/tmp/foo/bar"
ServerDirectory /tmp/"foo"/bar (*)
ServerDirectory "/tmp/foo"/bar (*)
all the same ? Now how about
ServerDirectory "C:/My Documents/www"
ServerDirectory C:/My\ Documents/www (*)
i.e. Should we allow an escaped space ?
Now we also allow line continuation:
ServerDirector /tmp\
/foo
is allowed - but the whitespace in this
ServerDirector /tmp\ (*)
/foo
is not eater. Any feelings about this. Or is the general feel - we'll go
to proper XML one day - so this is no longer an issue.
Dw
--
Dirk-Willem van Gulik