httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Whitson <>
Subject [users@httpd] Seperate logs with mod_vhost_alias
Date Wed, 23 Jun 2004 13:26:02 GMT
RedHat 9.0


Loaded Modules:,,

Config Snippet:
	VirtualDocumentRoot /www/websites/%0
	DirectoryIndex index.php
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
TransferLog logs/domain.com_log

I just got mod_vhost working correctly with the help of this list. 
However, I still need to handle stats for each website, and I would like 
to do it with as little maintenance as possible. Because I have th %V in 
the LogFormat directive, it labels each request in the log with the host 
being request (i.e. But I use webalizer to handle my stats 
so I would like to be able to split these logs apart and show them to 
the site owners. I don't know how to do that with a single log file, 

I have read about apaches split-logfile perl script and I gave it a look 
last night. It doesn't seem to do exactly what I need when it actually 
works. Does anyone have a slick way of doing this?

Thanks for taking the time to give this a look.

- Jason

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message