Project

General

Profile

Actions

Bug #2797

closed

Wrong example value for simple-vhost.debug

Added by avij over 7 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Normal
Category:
documentation
Target version:
ASK QUESTIONS IN Forums:

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.

Actions #1

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

Actions #2

Updated by gstrauss over 7 years ago

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

Also available in: Atom