Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 26926 invoked from network); 18 Jun 2005 00:46:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jun 2005 00:46:11 -0000 Received: (qmail 24296 invoked by uid 500); 18 Jun 2005 00:46:00 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 24276 invoked by uid 500); 18 Jun 2005 00:46:00 -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 24258 invoked by uid 99); 18 Jun 2005 00:46:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jslive@gmail.com designates 64.233.184.201 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.201) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2005 17:45:59 -0700 Received: by wproxy.gmail.com with SMTP id 67so1369132wri for ; Fri, 17 Jun 2005 17:45:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YiRv7nycmw1zmE1sQ1SE7QlFsryHl/NO5rVZ58uhXz0eQzI+FHbAx6NQ+2kYgCG6Q+TmKEbM/N/9r1OXYTpUc9YUEM27U7d/ZbBUnNHNZipehVsEIbxklbMmQlehe7tQnl2FhrDiR+7ncOYeCkeUoHhz5+FSWQCmu0LI6VNtcH4= Received: by 10.54.21.60 with SMTP id 60mr1415603wru; Fri, 17 Jun 2005 17:45:40 -0700 (PDT) Received: by 10.54.61.7 with HTTP; Fri, 17 Jun 2005 17:45:40 -0700 (PDT) Message-ID: Date: Fri, 17 Jun 2005 20:45:40 -0400 From: Joshua Slive Reply-To: Joshua Slive To: users@httpd.apache.org In-Reply-To: <42B34C02.6030905@simplenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42B33413.7080700@simplenet.com> <42B34C02.6030905@simplenet.com> Subject: Re: [users@httpd] Not Logging Proxy Requests X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/17/05, Tim Traver wrote: =20 > Joshua, >=20 > actually, PROXY_ADDR is an environment variable that is created by > mod_extract_forwarded... It is possible that this module is setting the variable too late in request processing for mod_setenif to get at it. >=20 > But, HTTP_X_FORWARDED_FOR is a header that is sent with the request from = the > proxy machine to the destination. I have also tried to use this variable, > but to no avail... >=20 > On your recommendation I tried HTTP-X-FORWARDED-FOR, but that doesn't wor= k > either. Read the docs for SetEnvIf. You'll see that you don't need the HTTP- prefix for headers. It is just X-Forwarded-For, exactly as sent by the client. >=20 > If what you said is true (that the headers have dashes instead of > underscores, then how is it that SetEnvIf works using Remote_Addr ??? Because that isn't a request header, it is a variable created specially by mod_setenvif. Joshua. --------------------------------------------------------------------- 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