Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lighttpd mod_auth and mod_authn_file config errors #81

Open
visnetje opened this issue Apr 14, 2022 · 0 comments · May be fixed by #82
Open

Lighttpd mod_auth and mod_authn_file config errors #81

visnetje opened this issue Apr 14, 2022 · 0 comments · May be fixed by #82

Comments

@visnetje
Copy link
Contributor

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.

visnetje added a commit to visnetje/docker-backuppc-rpi that referenced this issue Apr 14, 2022
@visnetje visnetje linked a pull request Apr 14, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant