Feature #110
closeduse evhost for logfiles
Description
Usually a lot of websites are very straight forward and only require document root and location of logfiles.
I like to keep my logfiles in one location so it would be nice to use evhost kind of functionality to define the location of the logfiles. Hosting a lot of websites could be brought back to only 3 lines, for example:
evhost.path-pattern = "/usr/local/www/%3.%2.%1/" evhost.server-errorlog = "/usr/local/www/logs/%3.%2.%1-error.log/" evhost.server-accesslog = "/usr/local/www/logs/%3.%2.%1-access.log/"
Thanx!
-- lighttpd
Updated by Anonymous over 19 years ago
To make things clear: I hope I can set 3 different patterns: if a url like vhost.domain.org maps is translated by evhost.path-pattern in /home/vhost/public_html/ <- see ticket 161 if you forget the ending /
then it should be possible to have (example) accesslogs per vhost and (example) all errors in 1 file using: those 3 patterns must be independent of each other.
-- onox
Updated by Anonymous over 18 years ago
Any updates on this? (seems to be quite painful to setup awstats and/or webalizer without separate log files per vhost)
-- okigan
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Not possible with current config/mod_accesslog layout.
Also available in: Atom