summaryrefslogtreecommitdiffstats
path: root/nextcloud-auth-none.inc
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud-auth-none.inc')
-rw-r--r--nextcloud-auth-none.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/nextcloud-auth-none.inc b/nextcloud-auth-none.inc
new file mode 100644
index 0000000..212315e
--- /dev/null
+++ b/nextcloud-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>