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

[config] detect standard modules in modules list #40

Closed

Conversation

gstrauss
Copy link
Member

@gstrauss gstrauss commented Mar 4, 2016

Fix detection of standard modules in modules list.
This patch fixes spurious warnings such as:
2016-03-03 21:52:32: (plugin.c.186) Cannot load plugin mod_indexfile more than once, please fix your config (lighttpd may not accept such configs in future releases)
when "mod_indexfile" is listed in server.modules = ( ... )

Fix detection of standard modules in modules list.
This patch fixes spurious warnings such as:
2016-03-03 21:52:32: (plugin.c.186) Cannot load plugin mod_indexfile more than once, please fix your config (lighttpd may not accept such configs in future releases)
@gstrauss
Copy link
Member Author

FYI: found similar commit to 1.5.x branch from 2007:

commit 649c5e41a3f15ade3b1ff9af43d97dff455354a1
Author: Jan Kneschke 
Date:   Tue May 8 12:28:01 2007 +0000
    fixed the loading for default modules if they are specified explicitly
    git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@1836 152afb58-edef-0310-8a
bb-c4023f1b3aa9

@stbuehler
Copy link
Member

I backported the patch from trunk instead in 9ae7813

@stbuehler stbuehler closed this Mar 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants