On 27.03.2012 02:01, Nick Kew wrote:
On Tue, 27 Mar 2012 00:42:43 +0200
Waldemar Klein<[email protected]> 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