Wrong example value for simple-vhost.debug
https://github.com/lighttpd/lighttpd1.4/blob/master/doc/config/conf.d/simple_vhost.conf#L25 says that to enable simple_vhost debugging, simple-vhost.debug should be set to "enable". However, it looks like simple-vhost.debug takes an integer instead of a string.
(configfile-glue.c.113) got a string but expected a short: simple-vhost.debug enable
On the other hand, even with simple-vhost.debug = 1, I don't get any debugging output in my error log.. I wonder if the variable is used at all. Anyway, I solved my simple_vhost problem using a different method, so this is not a particular concern to me any more.
Updated by gstrauss almost 6 years ago
- Category changed from mod_simple_vhost to documentation
- Status changed from New to Patch Pending
- Target version changed from 1.4.x to 1.4.46
Thanks. You are correct that the value for
simple-vhost.debug is an integer. I'll patch the comment in the doc.
For the mod_simple_vhost module, if
simple-vhost.debug is non-zero, will emit trace if the constructed document root does not exist or is not a directory. If the vhost is not found for the client-provided host, then no trace is emitted.
Also available in: Atom