httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <...@apache.org>
Subject Re: [users@httpd] Conditionally LoadModule?
Date Tue, 15 Nov 2016 18:17:06 GMT
On Tue, 2016-11-15 at 09:41 -0800, Jacob Champion wrote:
> On 11/15/2016 09:19 AM, Nick Kew wrote:
> > So IfFile joins IfDefine and the infamous[1] IfModule.  What next?
> > We can't get rid of them in the lifetime of 2.4, but maybe thereafter
> > they could come together?
> 
> Is there a way we could provide a "startup-time" subset of ap_exprs?

Shouldn't be too hard.  We have Define, Module and File.  Define
could be extended also to test the content of an env var.  There may
be more, but that looks like a good start!  My main point was to
rationalise many directives into a single one powered by ap_expr.

> Also, tangential but related: it would be very nice if, for a 2.next or 
> 3.0, we explicitly separated directives that ran at different times by 
> their syntax. <IfDefine/Module> are like C preprocessor directives, in 
> that they affect what the server sees in the configuration. <If> is a 
> request-time conditional. They should really not look so similar.

Interesting thought.  Maybe worth a brief brainstorm in Seville
this week (I see you're on #apachecon).

-- 
Nick Kew


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


Mime
View raw message