httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Ivanov <andrei.iva...@gmail.com>
Subject Re: [users@httpd] mod_lua and subprocess_env
Date Wed, 22 Mar 2017 13:53:17 GMT
On Wed, Mar 22, 2017 at 3:27 PM, Yann Ylavic <ylavic.dev@gmail.com> wrote:

> On Wed, Mar 22, 2017 at 1:37 PM, Yann Ylavic <ylavic.dev@gmail.com> wrote:
> >
> > There are two patches attached, one for the changes in httpd code, the
> > other for the files generated by the bison/flex parser.
>
> The second patch was missing the changes in server/util_expr_parse.h,
> resending...
>
> >
> > Hope that helps,
> > Yann.
>

Welcome back :-)

Unfortunately,  the situation seems to be getting worse :-(

These expressions don't work anymore: Can't parse value expression :
Function 'PeerExtList' does not exist

Header set Client-SAN "expr=%{PeerExtList:2.5.29.17}"
Header set Expr1 "expr='IP Address:'.%{REMOTE_ADDR} -in
%{PeerExtList:2.5.29.17}"

I've modified this one to use the "normal" method syntax, hoping that would
work:

<If "%{PeerExtList('2.5.29.17') =~ /%{REMOTE_ADDR}/">
    Header set matched-dynamic true
</If>

Cannot parse condition clause: syntax error, unexpected T_ERROR, expecting
T_VAR_END or ':': Invalid character in variable name '('

Mime
View raw message