RE: [users@httpd] SentEnvIf and multiple X-Fowarded-For headers

2019-10-25 Thread Michael Nielsen
Thanks Eric; I will try that. -Original Message- From: Eric Covener Sent: Friday, October 25, 2019 2:33 PM To: users@httpd.apache.org Subject: Re: [users@httpd] SentEnvIf and multiple X-Fowarded-For headers > the problem is that Apache seems to run the SetEnvIf only agai

Re: [users@httpd] SentEnvIf and multiple X-Fowarded-For headers

2019-10-25 Thread Eric Covener
> the problem is that Apache seems to run the SetEnvIf only against the > first occurrence of the Header. As a hack you can try to make the first argument look like a regex by putting ^ in the front. That will trigger code that tries to find a match amongst a set of headers.

RE: [users@httpd] SentEnvIf and multiple X-Fowarded-For headers

2019-10-23 Thread Michael Nielsen
.10.9 I'm convinced there's something subtle I'm overlooking, and would be very grateful for any suggestions. -Original Message- From: Maxime VEROONE Sent: Wednesday, October 23, 2019 7:26 AM To: users@httpd.apache.org Subject: [users@httpd] SentEnvIf and multiple X-Fowarded-For hea

Re: [users@httpd] SentEnvIf and multiple X-Fowarded-For headers

2019-10-23 Thread Ruben Safir
On Wed, Oct 23, 2019 at 01:25:57PM +0200, Maxime VEROONE wrote: > Hi, > > This question was previously sent to StackOverflow (ID 57206362), but > I believe it belongs here more than there. > > We are using this kind of configuration to grant access to one of our > sites (here with RFC1918 CIDR

[users@httpd] SentEnvIf and multiple X-Fowarded-For headers

2019-10-23 Thread Maxime VEROONE
Hi, This question was previously sent to StackOverflow (ID 57206362), but I believe it belongs here more than there. We are using this kind of configuration to grant access to one of our sites (here with RFC1918 CIDR ranges as an example, but you may imagine different restrictions using public