httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [PATCH] <IfDefine> sections
Date Sat, 18 Apr 1998 17:42:19 GMT
Rodent of Unusual Size wrote:
> 
> Ben Hyde wrote:
> >
> > ><IfDefine> Sections
> > >===================
> >
> > This, one presumes, checks for the presence
> > of a symbol in a new namespace.  Let me
> > call it "*features*" after a similar one
> > in Common Lisp.
> >
> > Aside: The <IfModule ..> has it's own namespace
> > and it would be good to only have one, so
> > I'd urge redefining <IfModule ..> in terms of this
> > new one by having each module push a symbol
> > into *feature* implicitly.
> 
> Hmm.  That's not how I interpreted it.  A separate namespace,
> yes - but definitions set on the command line, not by modules.
> E.g., "httpd -Dsym1".

You misunderstand, I think. What he wants is for modules to push a
symbol into the namespace, too, so instead of:

<IfModule foo>

you use:

<IfDefined _module_foo>

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|  Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author    http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message