From a76bd3def8b50138cfab86dd1f390cfb073eddeb Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 26 Jan 2014 13:49:48 +0000 Subject: [PATCH] vhost.m4: New virtual hosting knobs in `domains.conf'. `final' is a boolean indicating whether local parts should be looked up using the system-global rules. `home' is a home directory to set, which is useful if filter files are being used. --- vhost.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vhost.m4 b/vhost.m4 index 5e81f56..d37edd9 100644 --- a/vhost.m4 +++ b/vhost.m4 @@ -29,6 +29,8 @@ m4_define(<:VHOST:>, m4_define(<:VHOST_FILTER:>, <:FILTER_BASE VHOST(<:$1:>) + router_home_directory = DOMKV(home, {$value} fail) + more = ${if bool{DOMKV(final, {$value}{true})} {false} {true}} $2 = ${expand:DOMKV($1, {$value} fail)}:>) m4_define(<:VHOST_USER:>, <:user = DOMKV(owner, {$value}{CONF_filter_user}) -- 2.11.0