Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C8AC10F8E for ; Fri, 25 Oct 2013 12:19:40 +0000 (UTC) Received: (qmail 1301 invoked by uid 500); 25 Oct 2013 12:19:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1237 invoked by uid 500); 25 Oct 2013 12:19:32 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 1213 invoked by uid 99); 25 Oct 2013 12:19:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 12:19:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [75.180.132.120] (HELO cdptpa-omtalb.mail.rr.com) (75.180.132.120) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Oct 2013 12:19:24 +0000 X-Authority-Analysis: v=2.0 cv=FKiZNpUs c=1 sm=0 a=CMIagxsx9fMjTR9dGS23VA==:17 a=4jdjCIWhz9QA:10 a=FKkrIqjQGGEA:10 a=HUnfgijVlNIA:10 a=gKdNUozYXGYA:10 a=wPDyFdB5xvgA:10 a=Fx01H1t8AAAA:8 a=KGjhK52YXX0A:10 a=Io5GEbKknM0A:10 a=mV9VRH-2AAAA:8 a=EG7W4yiQAAAA:8 a=W8qtT_FxsSyaoRGk_8wA:9 a=QEXdDO2ut3YA:10 a=y_Cu-olpstAA:10 a=thVeFYP5CaEA:10 a=CfXgr8toEc7sE2qx5G0A:9 a=_W_S_7VecoQA:10 a=tXsnliwV7b4A:10 a=59s_rBrCE2-WgzW3:21 a=CMIagxsx9fMjTR9dGS23VA==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 98.26.39.66 Received: from [98.26.39.66] ([98.26.39.66:62751] helo=mail.electrichendrix.com) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 0F/CC-01931-6B16A625; Fri, 25 Oct 2013 12:19:03 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.electrichendrix.com (Postfix) with ESMTP id 23B9317002B for ; Fri, 25 Oct 2013 08:09:24 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.electrichendrix.com Received: from mail.electrichendrix.com ([127.0.0.1]) by localhost (mail.electrichendrix.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3z8nC5QXjorn for ; Fri, 25 Oct 2013 08:09:23 -0400 (EDT) Received: from mail.electrichendrix.com (mail.electrichendrix.com [192.168.124.3]) by mail.electrichendrix.com (Postfix) with ESMTP id 251A61182F1 for ; Fri, 25 Oct 2013 08:09:23 -0400 (EDT) Date: Fri, 25 Oct 2013 08:09:22 -0400 (EDT) From: Chris Arnold To: users@httpd.apache.org Message-ID: <602090762.8202.1382702962915.JavaMail.root@electrichendrix.com> In-Reply-To: References: <46338965.7430.1382664602348.JavaMail.root@electrichendrix.com> <605783640.7436.1382664755929.JavaMail.root@electrichendrix.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8201_998199818.1382702962914" X-Mailer: Zimbra 8.0.0_GA_5434 (ZimbraWebClient - SAF7 (Mac)/8.0.0_GA_5434) Thread-Topic: X-Forwarded-For Thread-Index: Iyw7keSlz8xTDUlW24nGSSB4SnxKZQ== X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] X-Forwarded-For ------=_Part_8201_998199818.1382702962914 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit > The X-Forwarded-For header is set by Apache automatically ( http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers ). Your inside servers need to know to use it. >CloudFlare has some documentation about how to handle this on different servers: https://support.cloudflare.com/hc/en-us/sections/200038166-How-do-I-restore-original->visitor-IP-to-my-server-logs- Thanks Yehuda! Cloudflare wants you to install its mod. Is it possible to use what i already have to do this, which is apache? On Thu, Oct 24, 2013 at 9:32 PM, Chris Arnold < carnold@electrichendrix.com > wrote: Apache 2.2 (i believe) on sles11. We have some servers behind our apache (reverse) proxy. When connections come in to apache and apache proxies the connections, the logs show the apache proxy ip. We need to see the originating ip. I have seen on the internet that x-forwarded-for will do this. Can anyone provide some config doc or guidance for x-forwarded-for? ------=_Part_8201_998199818.1382702962914 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
>The X-Forwarded-For header is set by Apache automatically (http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-heade= rs). Your inside servers need to know to use it. >CloudFlare has so= me documentation about how to handle this on different servers: https://s= upport.cloudflare.com/hc/en-us/sections/200038166-How-do-I-restore-original= ->visitor-IP-to-my-server-logs-

Thanks Yehuda! Cloudflare wants you to install its mod. Is it possible to= use what i already have to do this, which is apache?



On Thu, Oct 24, 2013 at 9:32 PM, Chris Arnold &l= t;carnold@= electrichendrix.com> wrote:
Apache 2.2 (i believe) on sles11. We have so= me servers behind our apache (reverse) proxy. When connections come in to a= pache and apache proxies the connections, the logs show the apache proxy ip= . We need to see the originating ip. I have seen on the internet that x-for= warded-for will do this. Can anyone provide some config doc or guidance for= x-forwarded-for?



------=_Part_8201_998199818.1382702962914--