aboutsummaryrefslogtreecommitdiff
path: root/radicale_web/web/infcloud/auth/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'radicale_web/web/infcloud/auth/.htaccess')
-rw-r--r--radicale_web/web/infcloud/auth/.htaccess24
1 files changed, 24 insertions, 0 deletions
diff --git a/radicale_web/web/infcloud/auth/.htaccess b/radicale_web/web/infcloud/auth/.htaccess
new file mode 100644
index 0000000..fb4203d
--- /dev/null
+++ b/radicale_web/web/infcloud/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