Project

General

Profile

Bug #2797

Wrong example value for simple-vhost.debug

Added by avij 8 months ago. Updated 8 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
documentation
Target version:
Start date:
2017-03-11
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:

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.

Associated revisions

Revision 46ff978f (diff)
Added by gstrauss 8 months ago

[doc] simple-vhost.debug takes an integer value (fixes #2797)

History

#1

Updated by gstrauss 8 months 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.

#2

Updated by gstrauss 8 months ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom