Re-order Lighttpd modules to prioritize mod_auth and mod_authn_file

As explained in the Lighttpd docs at https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_modulesDetails

Fixes adferrand#81
This commit is contained in:
Visnetje 2022-04-15 00:13:02 +02:00
parent b64bb4d1cc
commit 0ac49bd770

View File

@ -7,7 +7,7 @@ dir-listing.activate = "enable"
index-file.names = ( "index.html", "index.php", "index.cgi" )
mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", ".gif" => "image/gif", ".css" => "text/css", ".js" => "text/javascript", "" => "application/octet-stream" )
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" )
alias.url = ( "/BackupPC_Admin" => "/var/www/cgi-bin/BackupPC/BackupPC_Admin" )
alias.url += ( "/BackupPC" => "/var/www/html/BackupPC" )