On Wed, Jun 21, 2017 at 6:24 PM, Luca Toscano <toscano.l...@gmail.com>
wrote:

> Hi Andrei,
>
> 2017-06-16 15:23 GMT+02:00 Andrei Ivanov <andrei.iva...@gmail.com>:
>
>> 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> ?
>
> https://httpd.apache.org/docs/2.4/mod/core.html#if
>
> Luca
>

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

Thank you

Reply via email to