diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-06-25 11:23:11 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-06-25 11:23:11 +0200 |
commit | 08984154cdc5c54974e523727e0555e1370caf49 (patch) | |
tree | 4f4bc06d2e336c0f425ae290f3be927dd2008779 /build/.htaccess | |
parent | 160d8003f8d42eb3856ba45680c0ace73bee9618 (diff) | |
download | nextcloud-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/.htaccess')
-rw-r--r-- | build/.htaccess | 12 |
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 * |