Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 26482 invoked from network); 25 Mar 2004 20:53:03 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 20:53:03 -0000 Received: (qmail 53428 invoked by uid 500); 25 Mar 2004 20:52:38 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 53411 invoked by uid 500); 25 Mar 2004 20:52:38 -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 53396 invoked from network); 25 Mar 2004 20:52:37 -0000 Received: from unknown (HELO exchange4.y12.doe.gov) (134.167.250.68) by daedalus.apache.org with SMTP; 25 Mar 2004 20:52:37 -0000 Received: from 127.0.0.1 by exchange4.y12.doe.gov (InterScan E-Mail VirusWall NT); Thu, 25 Mar 2004 15:52:43 -0500 Received: by exchange4.y12.doe.gov with Internet Mail Service (5.5.2653.19) id ; Thu, 25 Mar 2004 15:52:43 -0500 Message-ID: <4E5056859D3FD4119CDD00508B6FE62B227E76BC@exchange1.y12.doe.gov> From: "Strader, William A (WAX)" To: "'users@httpd.apache.org'" Date: Thu, 25 Mar 2004 15:52:42 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Apache 1.x/2.x Proxy Logging X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Well we have it set to log: ServerName myserver.mydomain.com ServerAdmin my@email.com ErrorLog /data/httpd/logs/error_log TransferLog /data/httpd/logs/access_log ProxyRequests on NoCache * order deny,allow deny from all allow from 127.0.0.1 However we are not seeing anyone in the log file... Can you give me some sort of hint how my config needs to look to log the request? Thanks, Billy S. WebPool Office: (865) 425-5178 Pager: (865) 417-5012 -----Original Message----- From: Joshua Slive [mailto:joshua@slive.ca] Sent: Thursday, March 25, 2004 3:48 PM To: 'users@httpd.apache.org' Subject: Re: [users@httpd] Apache 1.x/2.x Proxy Logging On Thu, 25 Mar 2004, Strader, William A (WAX) wrote: > Is there anyway to make mod_proxy log who uses the server as a proxy system? Sure. All mod_proxy requests are logged to the access log just like any other request. See: http://httpd.apache.org/docs-2.0/logs.html The only complication is figuring out which requests are proxied and which are for local content. One way to do that is to check if an absolute-URI is used in the request. But a perhaps a more reliable way is to confine your proxy to a specific virtual host that does only proxying, and log that virtual host to a different access log. 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 --------------------------------------------------------------------- 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