projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lighttpd/evolution-events.nl: Move authentication info out of conditional.
[matthijs/servers/drsnuggles.git]
/
etc
/
lighttpd
/
vhosts
/
evolution-events-nl
diff --git
a/etc/lighttpd/vhosts/evolution-events-nl
b/etc/lighttpd/vhosts/evolution-events-nl
index 9384245ca28a9f73ca660c18e1a9cd8d752197e5..8807091cb4174af84aa7d0164471c27fc1de1b6d 100644
(file)
--- 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/"
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" =>
fastcgi.server += (
".php" =>
@@
-31,8
+36,6
@@
$HTTP["host"] =~ ".evolution-events.nl$" {
)
$HTTP["host"] =~ "^orga.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" =>
(
auth.require += ( "/private" =>
(