Bug #2797
closedWrong example value for simple-vhost.debug
Description
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.
With "enable":
(configfile-glue.c.113) got a string but expected a short: simple-vhost.debug enable
With 1:
no errors
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 8 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.
Updated by gstrauss almost 8 years ago
- Status changed from Patch Pending to Fixed
- % Done changed from 0 to 100
Applied in changeset 46ff978fa0d2824db0b2218950be82e42bed8412.
Also available in: Atom