Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 52533 invoked by uid 500); 15 Mar 2002 11:56:37 -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 52514 invoked from network); 15 Mar 2002 11:56:37 -0000 Received: from wicksend7.min.navisite.net (HELO brahman.logsoft.com) (216.75.194.225) by daedalus.apache.org with SMTP; 15 Mar 2002 11:56:37 -0000 Received: from localhost (sgr@localhost) by brahman.logsoft.com (8.11.4/8.11.3) with ESMTP id g2FBua722674 for ; Fri, 15 Mar 2002 06:56:36 -0500 Date: Fri, 15 Mar 2002 06:56:36 -0500 (EST) From: Stephen Reppucci Reply-To: To: Apache mailing list Subject: Re: Conditional logging In-Reply-To: <3C91C0B4.CC737D97@presidence.univ-nantes.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Two problems I see right off the bat: $IP_ADRESS -- Is this misspelled? Should be $IP_ADDRESS? Bigger issue: AFAIK, there isn't any capablity for shell-like variable interpolation in the apache config file. Not sure where you're setting up $IP_ADRESS [sic], but I don't believe there's any built in capabilities for this to get expanded into whatever value you've set. (Though, I've often wished for something like that...closest I can think of are sections for a mod_perl enabled build.) On Fri, 15 Mar 2002, Julien OIX wrote: > hi everyone, > > here's a part of my httpd.conf > > SetEnvIf Request_URI \.gif dont_log > SetEnvIf Request_URI \.jpg dont_log > SetEnvIf Request_URI \.JPG dont_log > SetEnvIf Remote_Addr $IP_ADRESS dont-log > > ErrorLog logs/glob_error_log > CustomLog logs/glob_access_log common env=!dont_log > > request for images don't log, it works fine > but for not logging request from a specific IP, it doesn't filter. > > any ideas ? > > thansk in advance > > -- Steve Reppucci sgr@logsoft.com | Logical Choice Software http://logsoft.com/ | =-=-=-=-=-=-=-=-=-=- My God! What have I done? -=-=-=-=-=-=-=-=-=-= --------------------------------------------------------------------- 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 For additional commands, e-mail: users-help@httpd.apache.org