Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 88282 invoked from network); 19 Jun 2004 01:41:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Jun 2004 01:41:33 -0000 Received: (qmail 81952 invoked by uid 500); 19 Jun 2004 01:41:44 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 81930 invoked by uid 500); 19 Jun 2004 01:41:43 -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: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 81916 invoked by uid 99); 19 Jun 2004 01:41:43 -0000 Received: from [216.200.145.36] (HELO omta18.mta.everyone.net) (216.200.145.36) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 18 Jun 2004 18:41:43 -0700 Received: from pmta10.mta.everyone.net (unknown [216.200.145.26]) by omta18.mta.everyone.net (Postfix) with ESMTP id 7FB204007D for ; Fri, 18 Jun 2004 18:41:09 -0700 (PDT) X-Eon-Sig: AQHhg2FA05m1fouRCwIAAAAB,6a2a52136d35d699883e72fece80db9b Received: from ucguate.com (68.167.201.10 [68.167.201.10]) by pmta10.mta.everyone.net (EON-AUTHRELAY) with ESMTP id A6C32E35; Fri, 18 Jun 2004 18:41:09 -0700 Message-ID: <40D39903.1040509@ucguate.com> Date: Fri, 18 Jun 2004 18:38:11 -0700 From: tachu User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked Subject: [users@httpd] Setting Cookie in apache X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello I was able to succesfully set apache with mod proxy to act a compression server of another old server that didnt support it. now my problem is that on my app server when i record the user ip i always get my apache's ip. So by seeing the previous compression server that we where using I noticed that what this other server does is that it sends a cookie to the app server together with the request where it specified the users ip. So my question is how do i setup apache to send a cookie with the original request ip. I kind of had an idea of doing the following RequestHeader Append Cookie "RealIP=IP" but my problem is getting the real ip. I know mod_log has access to it via %h so basically is there a way of setting an enviroment variable that contains the request Ip thanks a lot for your help Jose Avila --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org