summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-25 11:23:11 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-25 11:23:11 +0200
commit08984154cdc5c54974e523727e0555e1370caf49 (patch)
tree4f4bc06d2e336c0f425ae290f3be927dd2008779 /build
parent160d8003f8d42eb3856ba45680c0ace73bee9618 (diff)
downloadnextcloud-server-08984154cdc5c54974e523727e0555e1370caf49.tar.gz
nextcloud-server-08984154cdc5c54974e523727e0555e1370caf49.zip
Create .htaccess
Ref https://github.com/owncloud/core/pull/16724#discussion_r33236344 – shouldn't hurt also.
Diffstat (limited to 'build')
-rw-r--r--build/.htaccess12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/.htaccess b/build/.htaccess
new file mode 100644
index 00000000000..c7a7b79feac
--- /dev/null
+++ b/build/.htaccess
@@ -0,0 +1,12 @@
+# line below if for Apache 2.4
+<ifModule mod_authz_core.c>
+Require all denied
+</ifModule>
+
+# line below if for Apache 2.2
+<ifModule !mod_authz_core.c>
+deny from all
+</ifModule>
+
+# section for Apache 2.2 and 2.4
+IndexIgnore *