apache log directives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux