Skip to content

Lighttpd mod_auth and mod_authn_file config errors #81

@visnetje

Description

@visnetje

When running the docker image for the first time, I noticed the following errors:

(configfile.c.397) Warning: mod_auth should be listed in server.modules before dynamic backends such as mod_cgi
(configfile.c.353) Warning: please add "mod_authn_file" to server.modules list in lighttpd.conf.  A future release of lighttpd 1.4.x will not automatically load mod_authn_file and lighttpd will fail to start up since your lighttpd.conf uses auth.backend = "htpasswd".

Suggested fix:
Change the server.modules line in file files/lighttpd.conf as follows:

-server.modules = ( "mod_alias", "mod_cgi", "mod_auth", "mod_access", "mod_rewrite", "mod_redirect" )
+server.modules = ( "mod_alias", "mod_auth", "mod_authn_file", "mod_access", "mod_rewrite", "mod_redirect", "mod_cgi" )

See Lighttpd server.modules docs for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions