summaryrefslogtreecommitdiffstats
path: root/owncloud-auth-none.inc
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-05 07:54:26 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-05 07:54:26 +0200
commit7840065569de84a135711318d66e5bcf8827097e (patch)
tree97e0473a782c76e119c967235b1308fa115acc1d /owncloud-auth-none.inc
owncloud: import 8.0.4 from rawhide
Diffstat (limited to 'owncloud-auth-none.inc')
-rw-r--r--owncloud-auth-none.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/owncloud-auth-none.inc b/owncloud-auth-none.inc
new file mode 100644
index 0000000..212315e
--- /dev/null
+++ b/owncloud-auth-none.inc
@@ -0,0 +1,12 @@
+# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files
+# with Include. Denies all access.
+
+<IfModule mod_authz_core.c>
+# Apache 2.4
+Require all denied
+</IfModule>
+<IfModule !mod_authz_core.c>
+# Apache 2.2
+Order Deny,Allow
+Deny from all
+</IfModule>