aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/auth/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'radicale_infcloud/web/auth/.htaccess')
-rw-r--r--radicale_infcloud/web/auth/.htaccess24
1 files changed, 24 insertions, 0 deletions
diff --git a/radicale_infcloud/web/auth/.htaccess b/radicale_infcloud/web/auth/.htaccess
new file mode 100644
index 0000000..fb4203d
--- /dev/null
+++ b/radicale_infcloud/web/auth/.htaccess
@@ -0,0 +1,24 @@
+#####################################################################################################
+# Apache configuration (REQUIRED to prevent access for .inc files /especially config files/)
+# You NEED to add the following lines into your Apache vhost configuration (without the # character):
+# <Directory /client/installation/directory/auth/>
+# AllowOverride Limit
+# <IfVersion >= 2.3>
+# Require all granted
+# </IfVersion>
+# <IfVersion < 2.3>
+# Order allow,deny
+# Allow from all
+# </IfVersion>
+# </Directory>
+#####################################################################################################
+
+<Files ~ "\.inc$">
+ <IfVersion >= 2.3>
+ Require all granted
+ </IfVersion>
+ <IfVersion < 2.3>
+ Order allow,deny
+ Deny from all
+ </IfVersion>
+</Files>
bgstack15