Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 36909 invoked from network); 3 Mar 2010 01:14:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 01:14:07 -0000 Received: (qmail 19189 invoked by uid 500); 3 Mar 2010 01:13:58 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 19133 invoked by uid 500); 3 Mar 2010 01:13:58 -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 19125 invoked by uid 99); 3 Mar 2010 01:13:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 01:13:58 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 24.201.245.36 is neither permitted nor denied by domain of francois.gingras@gmail.com) Received: from [24.201.245.36] (HELO relais.videotron.ca) (24.201.245.36) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 01:13:49 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [192.168.3.16] ([69.70.151.138]) by VL-MO-MR005.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KYO00F63M2GXHB0@VL-MO-MR005.ip.videotron.ca> for users@httpd.apache.org; Tue, 02 Mar 2010 20:13:28 -0500 (EST) Message-id: <4B8DB7AB.2000109@gmail.com> Date: Tue, 02 Mar 2010 20:13:15 -0500 From: Frank Gingras User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Lightning/1.0b1 Thunderbird/3.0.2 To: users@httpd.apache.org References: In-reply-to: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] vhost multiple error logs On 02/03/2010 8:02 PM, Greg Cole wrote: > How can I have multiple error logs based on virtual host names? > > something like this? > > NameVirtualHost *:80 > > > VirtualDocumentRoot /Library/WebServer/Documents/%-3 > ErrorLog logs/$HOSTNAME.error_log > > > I have 11 host names and really only wish to have one VirtualHost section. > > Thanks, > Greg > > > --------------------------------------------------------------------- > 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 > > Greg, You can, use you use traditional name-based vhosts, yes. Besides, you don't need VirtualDocumentRoot for 11 vhosts. Frank. --------------------------------------------------------------------- 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