summaryrefslogtreecommitdiff
path: root/templates/vhosts/php_wordpress/partial.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhosts/php_wordpress/partial.erb')
-rw-r--r--templates/vhosts/php_wordpress/partial.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/php_wordpress/partial.erb b/templates/vhosts/php_wordpress/partial.erb
new file mode 100644
index 0000000..972ab99
--- /dev/null
+++ b/templates/vhosts/php_wordpress/partial.erb
@@ -0,0 +1,6 @@
+<%= scope.function_template(['apache/vhosts/php/partial.erb']) %>
+
+# fixes: http://git.zx2c4.com/w3-total-fail/tree/w3-total-fail.sh
+<Directory "<%= documentroot %>/wp-content/w3tc/dbcache">
+ Deny From All
+</Directory>