Re: mod_lua and subprocess_env

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 22, 2017 at 3:53 PM, Andrei Ivanov <andrei.ivanov@xxxxxxxxx> wrote:
On Wed, Mar 22, 2017 at 3:27 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Wed, Mar 22, 2017 at 1:37 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> 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! :-)

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux