Ticket #110 (new enhancement)

Opened 3 years ago

Last modified 7 months ago

use evhost for logfiles

Reported by: lighttpd@high5.nu Assigned to: jan
Priority: normal Milestone:
Component: mod_evhost Version:
Severity: normal Keywords:
Cc: Blocking:
Need Feedback: 0

Description (Last modified by conny)

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!

Attachments

Change History

08/15/2005 07:24:22 PM changed by onox

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.

02/08/2006 03:15:16 PM changed by conny

  • type changed from defect to enhancement.
  • description changed.

09/20/2006 05:52:46 AM changed by okigan@hotmail.com

Any updates on this? (seems to be quite painful to setup awstats and/or webalizer without separate log files per vhost)

11/27/2007 12:20:57 PM changed by lighttpd@high5.nu

  • blocking changed.
  • pending changed.
  • milestone deleted.

Any news?


Add/Change #110 (use evhost for logfiles)




Change Properties