httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: How to register additional operators or functions for use in expressions?
Date Sun, 01 Apr 2012 16:42:34 GMT
On 27.03.2012 02:01, Nick Kew wrote:
> On Tue, 27 Mar 2012 00:42:43 +0200
> Waldemar Klein<waldemar.klein7@googlemail.com>  wrote:
>
>> Hi all,
>>
>> looking at http://httpd.apache.org/docs/2.4/expr.html, i found things like
>> "Modules may register additional unary operators." or
>> "Modules may register additional functions."
>> but not the slightest hint how to actually do this, also googling for
>> some time didn't get me anything useful either.
>
> You register your own functions for relevant parts of expression parsing.
>
> To get started, I suggest you read the extensive comments in the header
> file include/ap_expr.h.

I think it would also be useful to search for "expr_lookup" in 
modules/filters/mod_include.c and modules/ssl/ssl_engine_vars.c.

Regards,

Rainer


Mime
View raw message