HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
313442e
)
webapps/moin: inject custom config before moin config
author
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 31 Jan 2017 05:50:52 +0000
(
00:50
-0500)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Tue, 31 Jan 2017 05:55:40 +0000
(
00:55
-0500)
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.
lib/web_apps.dtl
patch
|
blob
|
blame
|
history
diff --git
a/lib/web_apps.dtl
b/lib/web_apps.dtl
index
124a6d0
..
5a19ae6
100644
(file)
--- 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.}}