From: Matthijs Kooijman Date: Fri, 23 Jul 2010 11:54:31 +0000 (+0200) Subject: lighttpd/evolution-events.nl: Move authentication info out of conditional. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3c36c2d5addddb606d655490f083f1ab05251fe0;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd/evolution-events.nl: Move authentication info out of conditional. This allows the same authentication info to be used by multiple subdomains. --- diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index 9384245..8807091 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -7,6 +7,11 @@ $HTTP["host"] =~ ".evolution-events.nl$" { var.site-fcgi-dir = var.fcgi-dir + "/evolution-events-nl" evhost.path-pattern = var.site-dir + "/htdocs/%3/" + + # Configure a simple plaintext password file + auth.backend = "plain" + auth.backend.plain.userfile = var.site-dir + "/conf/simple.user" + fastcgi.server += ( ".php" => @@ -31,8 +36,6 @@ $HTTP["host"] =~ ".evolution-events.nl$" { ) $HTTP["host"] =~ "^orga.evolution-events.nl$" { - auth.backend = "plain" - auth.backend.plain.userfile = var.site-dir + "/conf/simple.user" auth.require += ( "/private" => (