Project

General

Profile

[Solved] unknown config-key: auth.debug (ignored)

Added by riceru over 6 years ago

Hi.

When I starting lighttpd show in error.log:

(server.c.1295) WARNING: unknown config-key: auth.debug (ignored)

I have mod_auth enabled

# lighttpd-enable-mod
Disabled modules: debian-doc dir-listing evhost expire extforward flv-streaming no-www proxy rewrite rrdtool simple-vhost ssi status userdir usertrack
Enabled modules: accesslog auth cgi evasive fastcgi fastcgi-php ssl

My system:

Debian GNU/Linux 9.3 (stretch)
Linux 4.9.0-5-686
lighttpd 1.4.45-1

Module Auth configuration:

# /usr/share/doc/lighttpd/authentication.txt.gz

server.modules                += ( "mod_auth" )

auth.backend                    = "htdigest" 
auth.backend.htdigest.userfile  = "/usr/local/etc/lighttpd-users" 
auth.debug                      = 2

auth.require                    = ("/" =>
                                    (
                                    "method" => "basic",
                                    "realm" => "Access",
                                    "require" => "valid-user" 
                                    ),
                                )

$HTTP["url"] =~ "^/client" {
    auth.require                = ("" =>
                                    (
                                    "method" => "basic",
                                    "realm" => "Access Client",
                                    "require" => "user=user1|user=user2" 
                                    ),
                                )
}

I searched to Google and I did't find nothing that resolve it.

Any thoughts?


Replies (4)

RE: unknown config-key: auth.debug (ignored) - Added by avij over 6 years ago

auth.debug has been removed. It is no longer referenced on https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth so your /usr/share/doc/lighttpd/authentication.txt.gz is not up to date. Please complain to your package maintainer.

Try removing auth.debug from your config.

RE: unknown config-key: auth.debug (ignored) - Added by riceru over 6 years ago

Ok.

I have inherited auth.debug when upgraded lighttpd.

Thank You very much.

RE: [Solved] unknown config-key: auth.debug (ignored) - Added by mckaygerhard over 2 years ago

still many older variables references in Docs_ConfigurationOptionsOld#mod_auth ! puff 3 years ago still referenced

RE: [Solved] unknown config-key: auth.debug (ignored) - Added by gstrauss over 2 years ago

Please look up the word "Old" in your favorite English translation. Docs_ConfigurationOptionsOld is not linked from any of the other wiki pages, and I have edited your comment to remove the link here.

    (1-4/4)