From: Clinton Ebadi Date: Tue, 31 Jan 2017 05:50:52 +0000 (-0500) Subject: webapps/moin: inject custom config before moin config X-Git-Tag: release_20170131~1 X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/commitdiff_plain/e8a0d87b221e9dda1d25ba54733d8556298d3585 webapps/moin: inject custom config before moin config In Apache land, first matching alias wins and we're aliasing `/' to moin so injecting user config after that deprives them of the ability to customize aliases. Reverse configuration so they stand a chance. --- diff --git a/lib/web_apps.dtl b/lib/web_apps.dtl index 124a6d0..5a19ae6 100644 --- a/lib/web_apps.dtl +++ b/lib/web_apps.dtl @@ -39,11 +39,11 @@ end; val moinMoin = \ host : (host) -> \\ config : Vhost -> web host with + config; addMoinMoin where Htdocs = moin_default_htdocs; Prefix = "/" end; - config end; {{Create a new vhost with just a MoinMoin wiki.}}