httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] "Define" directive is ALWAYS parsed
Date Sun, 18 Sep 2016 16:24:28 GMT
On Sun, Sep 18, 2016 at 11:52 AM, Adam <adam.vest@vestfarms.com.invalid> wrote:
> Perhaps the only way I could get Define to only be applied conditionally is
> by following the example of nesting it within <IfDefine...> wrappers. But if
> Define is otherwise always set globally and unconditionally, then the
> <IfDefine...> directive seems superfluous.
>
> Am I vastly misunderstanding the usage of this here?

It's a defect that's tricky to fix. It shouldn't have been allowed in
any non-global context.  A note should be added.

However, It doesn't make IfDefine useless. IfDefine is older and
understands command-line -D arguments.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message