Re: 'require' directive result

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

 



On Wed, Jun 21, 2017 at 6:24 PM, Luca Toscano <toscano.luca@xxxxxxxxx> wrote:
Hi Andrei,

2017-06-16 15:23 GMT+02:00 Andrei Ivanov <andrei.ivanov@xxxxxxxxx>:
Hi,
Now that I've managed to configure my 'require' directive, I have a requirement to log some details to syslog in case the request is not authorized.

<Location />
      Require expr "<some _expression_>"
      // if _expression_ is false, log details about the request and maybe the SSL certificate to syslog
</Location>

I've searched around, but I can't find how I could do that.

sorry for what might be trivial, but have you tried <If expr> etc..</If> ?


Luca 

Aaah, you got me thinking...
I'll try Tomorrow with SetEnvIfExpr and CustomLog :)

Thank you

[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