{{Add a standard WordPress blog set-up code to a virtual host. The WordPress
files should be rooted at the location you specify.}}
-val wordPress = \ host : (host) ->
+val wordPress = \ host : (host) -> \\ config : Vhost ->
web host with
addWordPress "/";
- diskCache "/wp-content"
+ diskCache "/wp-content";
+ config
end;
{{Create a WordPress blog with just the standard set-up code. The WordPress blog should
be rooted at the vhost's <tt>DocumentRoot</tt>.}}
-val moin_default_htdocs : (location) = "/moin_static196";
+val moin_default_htdocs : (location) = "/moin_static198";
{{Alias for static content used by the system-wide MoinMoin.}}
val addMoinMoin = begin
end;
{{Add a MoinMoin wiki to a vhost.}}
-val moinMoin = \ host : (host) ->
+val moinMoin = \ host : (host) -> \\ config : Vhost ->
web host with
addMoinMoin where
Htdocs = moin_default_htdocs;
Prefix = "/"
- end
+ end;
+ config
end;
{{Create a new vhost with just a MoinMoin wiki.}}