Andrzej Rumpfelt | 10 Dec 19:37

server.errorlog setting

Hi,

I have a lighttpd  1.4.18 running with couple hosts defined, basically like 
this (I'm pasting only lines relevant to the problem):

$HTTP["host"] =~ "domain1\.com" {
        server.document-root        = "/var/www/html/domain1.com"
        server.errorlog             = "/var/log/lighttpd/domain1_error_log"
        accesslog.filename          = "/var/log/lighttpd/domain1_access_log"
    .....
}
$HTTP["host"] =~ "domain2\.com" {
        server.document-root        = "/var/www/html/domain2.com"
        server.errorlog             = "/var/log/lighttpd/domain2_error_log"
        accesslog.filename          = "/var/log/lighttpd/domain2_access_log"
    .......
}

Everything works fine except error logs which all get into the last 
specified host-errorlog. In the above case all of my errors go into 
domain2_error_log, if I would add domain3 in the end it would go into 
domain3_error_log, at least this comes to mind after trying different 
settings.. this is really strange, all the other stuff is working perfectly.

Any ideas ?

Thanks,
--
Andrzej Rumpfelt
arumpfelt <at> gmail.com 


Gmane