Project

General

Profile

Actions

Bug #1257

closed

There is no per virtualhost error log

Added by Anonymous almost 17 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

Description

I have seen that lighttpd doesn't allow a per domain error-log. i have given this inside a virtual host block:
---------
$HTTPhost =~ "^(www.doc.com|doc.com|dom.com|www.dom.com)" {
server.errorlog = "/home/httpd/doc.com/stats/doc.com-error_log"
}
-----------

But lighttpd only honours the LAST errorlog directive, and all the error for all domains are sent to that log. Is this by design? Or is it a bug?

Thanks.

Actions #1

Updated by darix almost 17 years ago

  • Status changed from New to Fixed
  • Resolution set to worksforme

works as designed.

Actions #2

Updated by Anonymous almost 17 years ago

Could you please elaborate. Works as designed? Does it mean that lighty doesn't have a per virtualhost error log, or that it has and does work properly?

Thanks.

-- ligesh

Actions #3

Updated by Anonymous almost 17 years ago

Hi,

Without a per virtualhost error log, the entire vhost concept doesn't make any sense. As in, how do you expect a customer in a shared hosting setup to fix errors on his website? Viewing a particular domain's error log is a very critical feature.
Thanks.

-- ligesh

Actions #4

Updated by darix almost 17 years ago

yes lighttpd supports only one error log. but that doesnt render vhosts useless. vhosts work outside of shared hosting environments very well too. yes this is a missing features that makes it harder to use lighttpd in shared hosting environments.
but in the end it is your decision if lighttpd will work in your setup or not.

for 1.5 we plan to fix this.

Actions #5

Updated by Anonymous about 16 years ago

  • Status changed from Fixed to Need Feedback
  • Resolution deleted (worksforme)

Is this in 1.5?

Robin

Actions #6

Updated by stbuehler over 15 years ago

  • Status changed from Need Feedback to Fixed
  • Resolution set to invalid

The only thing interesting in the error log for vhosts are the cgi and fastcgi application errors; which the applications could also log somewhere else.

No, it is not in 1.5, and i don't think it will come as the log interface has no connection context parameter.

Anyway, no bug here.

Actions #7

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom