On 23.02.2014 09:03, Kaspar Brand wrote: > On 22.02.2014 19:17, Falco Schwarz wrote: >> Kaspar, I switched back to your version and realized, that the directive >> SSLCertificateChainFile was always used in a VirtualHost. >> >> If the directive is in server scope, the warning is written correctly. >> > > Yes, that's the underlying issue which changing cmd->server to NULL in > the ap_log_error actually uncovers: it's a somewhat (at least IMO) > unfortunate side effect of how the LogLevel for a new VirtualHost is > inherited/merged from the global LogLevel directive, or more > specifically, the order in which it happens.
For the record: I have now committed your suggested change (switching from cmd->server to NULL) in r1676085, as it turned out to be the most appropriate fix for this specific case - and does not have unwanted side effects either. Proposed for backport to 2.4.x in r1676086. Kaspar