httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <>
Subject Re: environment patch
Date Fri, 09 Jul 1999 19:52:53 GMT
Greg Stein wrote:
> For example, let's say that we have the following XML config:
> <alias>
>   <location>/gstein</location>
>   <directory>/home/gstein/htdocs</directory>
> </alias>
> In this case, mod_alias gets passed an ap_xml_element (per my patch)
> pointing at the <alias> element. mod_alias then looks in the list of
> children for the <location> and <directory> child elements, and sets up
> its internal config from those elements' internal text.

Not sure I want to get into an XML details argument, but I'd've expected
this to look like:

<alias location="/gstein" directory="/home/gstein/htdocs</directory"/>

Is there some reason it shouldn't be like this?

> Basically, a module can define whatever schema it would like within its
> "command" element.

Which is cool, but what about the DTD?




"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

View raw message