aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web/.htaccess
diff options
context:
space:
mode:
authorUnrud <unrud@openaliasbox.org>2017-06-04 17:16:11 +0200
committerUnrud <unrud@openaliasbox.org>2017-06-04 17:16:36 +0200
commit10eef51a0f086ad148928ba965c330599b4765cb (patch)
treed0283e55f1b4e66c49bf17461b5fee211b78768a /radicale_infcloud/web/.htaccess
parentUpdate license (diff)
downloadradicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.gz
radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.bz2
radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.zip
Update package for new web plugin interface
Diffstat (limited to 'radicale_infcloud/web/.htaccess')
-rw-r--r--radicale_infcloud/web/.htaccess35
1 files changed, 35 insertions, 0 deletions
diff --git a/radicale_infcloud/web/.htaccess b/radicale_infcloud/web/.htaccess
new file mode 100644
index 0000000..b8583d1
--- /dev/null
+++ b/radicale_infcloud/web/.htaccess
@@ -0,0 +1,35 @@
+#########################################################################################################################
+# Apache configuration (REQUIRED for correct HTML5 cache functionality in browsers):
+# 1.) You NEED to enable the following Apache modules: mod_mime, mod_headers (optionally you can also enable mod_deflate)
+# 2.) You NEED to add the following lines into your Apache vhost configuration (without the # character):
+# <Directory /client/installation/directory/>
+# AllowOverride FileInfo Limit
+# <IfVersion >= 2.3>
+# Require all granted
+# </IfVersion>
+# <IfVersion < 2.3>
+# Order allow,deny
+# Allow from all
+# </IfVersion>
+# </Directory>
+#########################################################################################################################
+
+# Add "Content-Type: text/cache-manifest" header for .manifest files
+<IfModule mod_mime.c>
+ AddType text/cache-manifest .manifest
+</IfModule>
+
+# Add "Cache-Control: max-age=0, must-revalidate, no-cache, no-transform, private" header for all files
+# for more information see: https://tools.ietf.org/html/rfc7234
+<IfModule mod_headers.c>
+ Header set Cache-Control "max-age=0, must-revalidate, no-cache, no-transform, private"
+</IfModule>
+
+<IfModule mod_deflate.c>
+ SetOutputFilter DEFLATE
+</IfModule>
+
+# If you use mod_cache set the correct path for the cache.manifest here
+#<IfModule mod_cache.c>
+# CacheDisable cache.manifest
+#</IfModule>
bgstack15