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 83036D115 for ; Tue, 25 Sep 2012 22:32:15 +0000 (UTC) Received: (qmail 5691 invoked by uid 500); 25 Sep 2012 22:32:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 5620 invoked by uid 500); 25 Sep 2012 22:32:12 -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 5610 invoked by uid 99); 25 Sep 2012 22:32:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 22:32:11 +0000 X-ASF-Spam-Status: No, hits=4.7 required=5.0 tests=FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,FSL_FREEMAIL_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.212.189] (HELO nm30.bullet.mail.bf1.yahoo.com) (98.139.212.189) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 25 Sep 2012 22:32:05 +0000 Received: from [98.139.214.32] by nm30.bullet.mail.bf1.yahoo.com with NNFMP; 25 Sep 2012 22:31:44 -0000 Received: from [98.139.212.201] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 25 Sep 2012 22:31:44 -0000 Received: from [127.0.0.1] by omp1010.mail.bf1.yahoo.com with NNFMP; 25 Sep 2012 22:31:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 482786.17084.bm@omp1010.mail.bf1.yahoo.com Received: (qmail 95778 invoked by uid 60001); 25 Sep 2012 22:31:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1348612304; bh=r5s0jI+Uy0Mb5xYWtegSDfKkt+IfymK0ZWWz0AdhvZI=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TJxVwBxsM0AcFB85emNQ255MeB8YMemjmHXXQ1/w6otIBAai3eKWd5/Gd6VU5sbqcow6VEd7EHyxNurbGb1n/ND84dj6ECKCh99fp78p2Fs9HBU1wJfkpcqwpbqDvxd7r12VFXK2rjBxJ29JOBDtGPoTK9ECcmYigQ7jmWsoHQ8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=EWGbj7ZjN0rviO1JrrLqaxe1XESVp0XK9Xi1h5LC7c+Iv9q6y94Kg2HcqASws3/mVFez3KfNZNP5knAzNDsMTwScRcur4LKNSUh6ZgB7iHCRVg42G2nzBAblbfBYlRrhuizZRI2OtKhbPglUVODAn1OaIba7Y5RGUwKjnGkEwqI=; X-YMail-OSG: _dR1NP8VM1kf39PnRzA5589xJgUGthkM6KdVQSRKchTi1Rt lSb8nox3NqPySj3tAC121LQ3DSh1kiuZ.TSnmqdpcR6mIGjn6cbsUhnl5aFy tlYtz7GbXUZ0nL45DYf_ooU8bqMNoscH8S4s4Px24Lrb.9c9I5UMt2Gtq8lz Q9.x6yqeeMP.DWqNDFmaurHAMJEvt_3UiUx_qE0APNjqBwdikIFVKncpum3J F4Ef0rltPh8LhG4tNC9.zeJWbcEsP1HFsNIyN8AqOUGVKqFqheNj4JiUqdrL pBXF56IDMe.agEMXw08NOIfXaSH9xtyMOKiklM1aJIcQD.QXCKOUWdLNASvM dnfedpiiacSl5Ugclqy7KlJ339RJJROg6NcQy0T2rc7.422P1LVOIScDQuDV y5IzdeaDIeEfO7zkHGCKHSNF7uZNZ1eup3ygwT_ZGRrcjxw3fOvKEX9TQDcB xhzsGf9SDF2HfxUzp.uF5VPSoQ_PmSmcM3KbamQbOuTibYkuOGDEzKSLFpYK DH1PtK0ndY7oYBUK_cFaHblxUAFJCN_UbAz9IQJzQfcoPd8q9Qckf3wupdeH gOX_wk9g3mAbAH8RWm1bHUmQUNtMUImdk_KNwx04YxVPCEO_zKs.TBIVq.RX OGVtxaGpGcZFN7hT5rg-- Received: from [12.5.170.98] by web161706.mail.bf1.yahoo.com via HTTP; Tue, 25 Sep 2012 15:31:44 PDT X-Mailer: YahooMailWebService/0.8.121.434 References: <1348530524.33647.YahooMailNeo@web161701.mail.bf1.yahoo.com> <008401cd9ac8$9d029020$d707b060$@brainbuz.org> Message-ID: <1348612304.54206.YahooMailNeo@web161706.mail.bf1.yahoo.com> Date: Tue, 25 Sep 2012 15:31:44 -0700 (PDT) From: Rajeev Prasad Reply-To: Rajeev Prasad To: "users@httpd.apache.org" In-Reply-To: <008401cd9ac8$9d029020$d707b060$@brainbuz.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1709383693-1915042034-1348612304=:54206" X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] (resolved) Re: [users@httpd] wrong IP address in apache logs --1709383693-1915042034-1348612304=:54206 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable it was resolved using this help":=C2=A0=C2=A0 http://www.techstacks.com/how= to/log-client-ip-and-xforwardedfor-ip-in-apache.html=0A=0A=0A=0A=0A=0A_____= ___________________________=0A From: John Karr =0ATo= : users@httpd.apache.org =0ASent: Monday, September 24, 2012 9:51 PM=0ASubj= ect: RE: [users@httpd] wrong IP address in apache logs=0A =0A=0AYou may wan= t to look at: reverse proxy add forward module for Apache (mod_rpaf). It cl= eaned up a big headache for me. You define a list of your possible proxy so= urces and what your x-forwarded header is, and it just takes care of it. Th= e developer=E2=80=99s site is http://stderr.net/apache/rpaf/=0A=C2=A0=0AAlt= hough maintained outside the Apache Project it has been available in Ubuntu= since at least Hardy. (package name: libapache2-mod-rpaf). Also since 10.1= 0 is no longer supported, you=E2=80=99ll need to upgrade your system to ins= tall any packages. =0A=C2=A0=0AFrom:Rajeev Prasad [mailto:rp.neuli@yahoo.co= m] =0ASent: Monday, September 24, 2012 7:49 PM=0ATo: apache list=0ASubject:= [users@httpd] wrong IP address in apache logs=0A=C2=A0=0AHello,=0A=0AI am = using authentication from another site in intranet (redirect user), but i a= m expecting the user's PC IP in the apache logs. I am not seeing that, I so= metimes see VPN IP (when I come over VPN) or IP of a server, which is entir= ely different hardware. has no connection to mine.=0A=0Acan anyone help und= erstand and resolve this issue? None of the users coming to site show their= PC IP address in log. I want to fix this ASAP.=0A=0Aserver: ubuntu 10.10= =0Aapache: 2.2.16=0A=0AI have following in my site config, in virtual host = config:=0A=0A=C2=A0=C2=A0=C2=A0 ErrorLog ${APACHE_LOG_DIR}/mywebsite.error.= log=0A=0A=C2=A0=C2=A0=C2=A0 # Possible values include: debug, info, notice,= warn, error, crit,=0A=C2=A0=C2=A0=C2=A0 # alert, emerg.=0A=C2=A0=C2=A0=C2= =A0 LogLevel warn=0A=0A=C2=A0=C2=A0=C2=A0 CustomLog ${APACHE_LOG_DIR}/myweb= site.access.log combined=0A=0A=0Aty. --1709383693-1915042034-1348612304=:54206 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
it was resolved using this hel= p":   http://www.techstacks.com/howto/log-client-ip-and-xforwarde= dfor-ip-in-apache.html



=

From: John Karr &l= t;brainbuz@brainbuz.org>
To: users@httpd.apache.org
Sent: Monday, September 24, 2012 9:51 PM
Subject: RE: [users@httpd] wrong IP address = in apache logs

=0A
You may want to look at: reverse proxy add forward module= for Apache (mod_rpaf). It cleaned up a big headache for me. You define a l= ist of your possible proxy sources and what your x-forwarded header is, and= it just takes care of it. The developer=E2=80=99s site is http://stderr.ne= t/apache/rpaf/
 
= Although maintained outside the Apache Project= it has been available in Ubuntu since at least Hardy. (package name: libap= ache2-mod-rpaf). Also since 10.10 is no longer supported, you=E2=80=99ll need to upgrade your system to install any packages.
&= nbsp;
From: Rajeev Prasad [mailto:rp.neuli@y= ahoo.com]
Sent: Monday, September 24, 2012 7:49 PM
To:= apache list
Subject: [users@httpd] wrong IP address in apache lo= gs
 
Hello,

I am using authenticati= on from another site in intranet (redirect user), but i am expecting the us= er's PC IP in the apache logs. I am not seeing that, I sometimes see VPN IP= (when I come over VPN) or IP of a server, which is entirely different hard= ware. has no connection to mine.

can anyone help understand and reso= lve this issue? None of the users coming to site show their PC IP address i= n log. I want to fix this ASAP.

server: ubuntu 10.10
apache: 2.2.= 16

I have following in my site config, in virtual host config:
    ErrorLog ${APACHE_LOG_DIR}/mywebsite.error.log

=     # Possible values include: debug, info, notice, warn, er= ror, crit,
    # alert, emerg.
    LogL= evel warn

    CustomLog ${APACHE_LOG_DIR}/mywebsite.a= ccess.log combined


ty.
 


--1709383693-1915042034-1348612304=:54206--