lighttpd: Load mod_auth before other modules.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 5 Apr 2009 09:21:12 +0000 (11:21 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 5 Apr 2009 09:21:12 +0000 (11:21 +0200)
Loading mod_auth last broke authentication on fastcgi enabled urls.

etc/lighttpd/lighttpd.conf

index 676cb1f2c1a489addd5cdafd198d7688a9587253..5a0dc8d8d7046fe7ffc7c438de5185ee882a8d35 100644 (file)
@@ -11,6 +11,7 @@ var.fcgi-dir             = var.root-dir + "/var/fcgi"
 
 ## modules to load
 server.modules              = (
+            "mod_auth",
             "mod_access",
             "mod_alias",
             "mod_accesslog",
@@ -19,7 +20,6 @@ server.modules              = (
             "mod_evhost",
             "mod_cgi",
             "mod_fastcgi",
-            "mod_auth",
             "mod_setenv",
 )