Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 7280 invoked from network); 11 Sep 2007 14:03:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2007 14:03:00 -0000 Received: (qmail 94065 invoked by uid 500); 11 Sep 2007 14:01:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 94050 invoked by uid 500); 11 Sep 2007 14:01:50 -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 94037 invoked by uid 99); 11 Sep 2007 14:01:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 07:01:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.227.94.182] (HELO hermod.iguanait.com) (212.227.94.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2007 14:03:21 +0000 Received: from localhost (hermod.iguanait.com [127.0.0.1]) by hermod.iguanait.com (Postfix) with ESMTP id B183D3698404 for ; Tue, 11 Sep 2007 16:01:26 +0200 (CEST) Received: from hermod.iguanait.com ([127.0.0.1]) by localhost (hermod.iguanait.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 12796-09 for ; Tue, 11 Sep 2007 16:01:25 +0200 (CEST) Received: from [192.168.0.23] (unknown [87.246.1.40]) by hermod.iguanait.com (Postfix) with ESMTP id 2AAB636983BE for ; Tue, 11 Sep 2007 16:01:24 +0200 (CEST) From: Ali Nebi Reply-To: anebi@iguanait.com To: users@httpd.apache.org In-Reply-To: References: <1189518506.3444.15.camel@vali.iguanait.com> Content-Type: text/plain Organization: Iguana IT Ltd. Date: Tue, 11 Sep 2007 17:01:23 +0300 Message-Id: <1189519283.3444.23.camel@vali.iguanait.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Questions about httpd logging and redirecting requests to be logged in different places On Tue, 2007-09-11 at 09:52 -0400, Joshua Slive wrote: > On 9/11/07, Ali Nebi wrote: > > > i want to check all requests for the authentication users, in the > > example above the user is hpenagos. > > > > and all requests from these specify users to be logged in different > > places. > > This could probably be done by using a RewriteCond %{LA-U:REMOTE_USER} > and then a RewriteRule with the E flag to set an env variable. > > But I highly recommend forgetting all that and simply post-processing > your logs to extract what you want. By keeping the logging as simple > as possible and putting any complications off-line, you'll have a more > efficient and more reliable server. > > Joshua. Thanks for the answer Joshua. So this mean that i'm right for "Remote_User" in SetEnvIf dirrective. Yes, this should be a solution for the problem and it should be work. The logs format are ok, we need to log in different places the requests for 4-5 users only, the others should be logged in ssl_access_log file. The point is to check what these users do and control them. --------------------------------------------------------------------- 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