diff options
author | Unrud <unrud@openaliasbox.org> | 2017-03-10 23:02:35 +0100 |
---|---|---|
committer | Unrud <unrud@openaliasbox.org> | 2017-03-11 00:42:55 +0100 |
commit | e8e32f7a1194baabd6e158805f40396c667e6c56 (patch) | |
tree | 03d0cc2d188fcc148e726f0a6b24e8821a9e8635 /radicale_web/web/infcloud/.htaccess | |
parent | Init (diff) | |
download | radicaleinfcloud-e8e32f7a1194baabd6e158805f40396c667e6c56.tar.gz radicaleinfcloud-e8e32f7a1194baabd6e158805f40396c667e6c56.tar.bz2 radicaleinfcloud-e8e32f7a1194baabd6e158805f40396c667e6c56.zip |
Add InfCloud
Diffstat (limited to 'radicale_web/web/infcloud/.htaccess')
-rw-r--r-- | radicale_web/web/infcloud/.htaccess | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/radicale_web/web/infcloud/.htaccess b/radicale_web/web/infcloud/.htaccess new file mode 100644 index 0000000..b8583d1 --- /dev/null +++ b/radicale_web/web/infcloud/.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> |