diff options
author | o <o@immerda.ch> | 2012-12-28 13:42:31 +0100 |
---|---|---|
committer | o <o@immerda.ch> | 2012-12-28 13:46:53 +0100 |
commit | fe4113a36c48128474a2d7c3784c50d5af3e3931 (patch) | |
tree | 99238b54fc4198c213c4526d0efb7d6d4e9637a3 /templates/vhosts/php_wordpress/partial.erb | |
parent | 3f0da2ac4651340a459194e450dbe8be6b1b8cab (diff) |
add a workaround for
http://git.zx2c4.com/w3-total-fail/tree/w3-total-fail.sh
to all wordpress vhosts
mend
Diffstat (limited to 'templates/vhosts/php_wordpress/partial.erb')
-rw-r--r-- | templates/vhosts/php_wordpress/partial.erb | 6 |
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> |