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, 10:31 PM
Kai Schaetzl
 
Default apache log directives

Jason wrote on Wed, 09 Apr 2008 16:21:14 -0500:

> customlog $VHOST.log

not with "fixed" vhosts. There is something called mass virtual hosting or
so. That uses a different way of specifying virtual hosts and might be
able do something like this with the logs as well. However, I don't think
it makes sense for just 10 vhosts. It's more complex to setup and less
flexible. You can read up on it in the documentation on httpd.apache.org.

Kai

--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 04-10-2008, 09:42 AM
"Michael Simpson"
 
Default apache log directives

On 4/9/08, Jason <jason@jasonandjessi.com> wrote:
> 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
>
> becomes
> 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"
>
> --
> Jason
> www.cyborgworkshop.org

Hi there

you could try this

<http://n0rp.chemlab.org/vlogger/>

mike
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 05:17 AM.

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