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 14:45:24 GMT
On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov <andrei.ivanov@gmail.com>
wrote:

> 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 '('
>
>
Argh! You've sent more emails but Gmail received them out of order so I
didn't see your initial email about the changed syntax.

It works now! :-)
Wooohooo!

Now... any chance of getting the patches included in the next release? :-D

Thank you very much, I owe you many beers! :-)

Mime
View raw message