lighttpd: Load mod_auth before other modules.
[matthijs/servers/drsnuggles.git] / etc / lighttpd / lighttpd.conf
index f045f1172e869d3e54c4825589f639db53c1d0df..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,7 @@ server.modules              = (
             "mod_evhost",
             "mod_cgi",
             "mod_fastcgi",
-            "mod_auth",
+            "mod_setenv",
 )
 
 # Set a default catch-all document root, which should never be used.
@@ -65,6 +66,9 @@ server.dir-listing          = "disable"
 server.username            = "www-data"
 server.groupname           = "www-data"
 
+# Make mysqll frontend available in all domains
+alias.url                  += ("/mysql" => "/usr/share/phpmyadmin")
+
 #### external configuration files
 ## mimetype mapping
 include_shell var.conf-dir + "/scripts/create-mime.assign.pl"