HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
270265f
)
Use mod_disk_cache for wordpress wp-content and moin static files
author
Clinton Ebadi
<clinton@unknownlamer.org>
Wed, 2 Apr 2014 20:18:27 +0000
(16:18 -0400)
committer
Clinton Ebadi
<clinton@unknownlamer.org>
Wed, 2 Apr 2014 20:18:27 +0000
(16:18 -0400)
lib/web_apps.dtl
patch
|
blob
|
blame
|
history
diff --git
a/lib/web_apps.dtl
b/lib/web_apps.dtl
index
5f783c8
..
76ef7ac
100644
(file)
--- a/
lib/web_apps.dtl
+++ b/
lib/web_apps.dtl
@@
-16,7
+16,8
@@
val addWordPress = \ loc : (location) ->
val wordPress = \ host : (host) ->
web host with
val wordPress = \ host : (host) ->
web host with
- addWordPress "/"
+ addWordPress "/";
+ diskCache "/wp-content"
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>.}}
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>.}}
@@
-30,7
+31,8
@@
val addMoinMoin = begin
script <- Script;
alias htdocs "/afs/hcoop.net/common/app/moin/installed/moin19/lib/python2.6/site-packages/MoinMoin/web/static/htdocs";
script <- Script;
alias htdocs "/afs/hcoop.net/common/app/moin/installed/moin19/lib/python2.6/site-packages/MoinMoin/web/static/htdocs";
- scriptAlias prefix (end_in_slash script)
+ diskCache htdocs;
+ scriptAlias prefix (end_in_slash script);
end;
{{Add a MoinMoin wiki to a vhost.}}
end;
{{Add a MoinMoin wiki to a vhost.}}