From owner-freebsd-questions Wed Sep 19 21:55:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wingerboy.sonic.net (fw.office.sonic.net [209.204.177.119]) by hub.freebsd.org (Postfix) with ESMTP id A747937B413 for ; Wed, 19 Sep 2001 21:55:08 -0700 (PDT) Date: Wed, 19 Sep 2001 21:54:10 -0700 From: Kelsey Cummings To: Chris Aitken Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache Log Files - separated Message-ID: <20010919215410.M67137@sonic.net> References: <44sndia4vm.fsf@lowellg.ne.mediaone.net> <5.1.0.14.2.20010920140940.02c3dea0@mail.ideal.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20010920140940.02c3dea0@mail.ideal.net.au>; from chris@ideal.net.au on Thu, Sep 20, 2001 at 02:45:38PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Sep 20, 2001 at 02:45:38PM +1000, Chris Aitken wrote: > Hi, > > Im just wondering if anyone has been able to implement individual logs per > domain when using the vhost.map type system.... > > I have a virtual hosting box that has a bunch of sites pointing to 1 IP > address. They are all sorted out from the httpd.conf file which uses the > vhost.map file. > > But currently the access and error logs are all combined to > /var/log/access-log and /var/log/error.log for every site. What I want to > be able to do is make it so that each sites logs are saved in a set area in > their own user directory. > > Is this possible with using vhosts, or do I need to map them out > individually in the httpd.conf You might try to split the logs up as part of rotation, that's what we do at sonic. With 3k domains on a server that means the webserver has to have 3k open files _just for logging_ > Thanks > > > Chris > > > > -- > Chris Aitken - Administration/Database Designer - IDEAL Internet > email: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890 > __-----------------------------------------__ > *** Big Brother *** > It just shows that the dull will rule the world. And we will be watching it. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kelsey Cummings - kgc@sonic.net sonic.net System Administrator 300 B Street, Ste 101 707.522.1000 (Voice) Santa Rosa, CA 95404 707.547.2199 (Fax) http://www.sonic.net/ Fingerprint = 7F 59 43 1B 44 8A 0D 57 91 08 73 73 7A 48 90 C5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message