Re: Re: [users@httpd] X-Forward-For in ssl_access_log / apache behind WAF

2017-10-08 Thread Yann Ylavic
Hi, On Fri, Oct 6, 2017 at 8:49 AM, Morel Mosolff wrote: > Hi Yann > unfortunately that makes no difference. > > It don't works even if I only try to block one ip-address like this: SetEnvIf > Remote_Addr "1\.2\.3\.1" wav > but the output is slighly different (see below) > >

Aw: Re: [users@httpd] X-Forward-For in ssl_access_log / apache behind WAF

2017-10-06 Thread Morel Mosolff
P/1.0" 301 - "-" "-" if I delete %h in the proxy definition I get: 10.1.2.2 - - [06/Oct/2017:08:45:23 +0200] "HEAD / HTTP/1.0" 301 - "-" "-" - - - [06/Oct/2017:08:45:23 +0200] "HEAD / HTTP/1.0" 301 - "-" "-" 10.1.2.1 - - [

Re: [users@httpd] X-Forward-For in ssl_access_log / apache behind WAF

2017-10-05 Thread Yann Ylavic
Hi, On Thu, Oct 5, 2017 at 11:11 AM, Morel Mosolff wrote: > > #part 2: > SetEnvIf Remote_addr ("1\.2\.3\.1"|"1\.2\.2\.2") waf > CustomLog "logs/ssl_access_log" proxy env=!waf Did you try without the quotes, for instance: SetEnvIf Remote_addr