FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 04-09-2008, 09:21 PM
Default apache log directives

Does anyone know of a way to specify a CustomLog file name in apache
based on the vhost? for example, I have 10 vhosts and instead of giving
each one a CustomLog directive and specifying a different log file I'd
like to do something in global that does the same thing, ala

vhost elvis
customlog elvis.log

vhost king
customlog king.log

customlog $VHOST.log

I know that this is a bad idea, I know about the open file concerns.
It's more of a "can it be done"

CentOS mailing list

Thread Tools

All times are GMT. The time now is 01:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org