From 0ac49bd7703d37fd7a91f88bbc29e3663b85409d Mon Sep 17 00:00:00 2001 From: Visnetje Date: Fri, 15 Apr 2022 00:13:02 +0200 Subject: [PATCH] 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 --- files/lighttpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lighttpd.conf b/files/lighttpd.conf index 2415db5..acd5bb0 100644 --- a/files/lighttpd.conf +++ b/files/lighttpd.conf @@ -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" )