diff options
| author | 2014-01-29 21:26:19 +0100 | |
|---|---|---|
| committer | 2014-01-29 21:26:19 +0100 | |
| commit | 165eb57459a152b3cc6aa3fd15ca990c3d908829 (patch) | |
| tree | 640ddacbc6eabc985646dd65b0578f369ea92321 /p/.htaccess | |
| parent | 75096e6a39fe5d34d3951991f296f616e62a9fd8 (diff) | |
| parent | c053825ff8f9792e692c101585481129b006937b (diff) | |
Sortie de la version 0.70.7.0
Diffstat (limited to 'p/.htaccess')
| -rw-r--r-- | p/.htaccess | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/p/.htaccess b/p/.htaccess new file mode 100644 index 000000000..2b1e27a88 --- /dev/null +++ b/p/.htaccess @@ -0,0 +1,44 @@ +<IfModule mod_dir.c> + DirectoryIndex index.php index.html +</IfModule> + +FileETag None +AddDefaultCharset UTF-8 + +<IfModule mod_mime.c> + AddType application/json .map + AddType application/font-woff .woff + + AddCharset UTF-8 .css + AddCharset UTF-8 .html + AddCharset UTF-8 .js + AddCharset UTF-8 .svg +</IfModule> + +<IfModule mod_deflate.c> + AddOutputFilterByType DEFLATE application/javascript application/json application/xhtml+xml image/svg+xml text/css text/html text/javascript +</IfModule> + +<IfModule mod_expires.c> + ExpiresActive on + ExpiresByType application/font-woff "access plus 1 month" + ExpiresByType application/javascript "access plus 1 month" + ExpiresByType application/json "access plus 1 month" + ExpiresByType application/xhtml+xml "access plus 1 month" + ExpiresByType image/gif "access plus 1 month" + ExpiresByType image/png "access plus 1 month" + ExpiresByType image/svg+xml "access plus 1 month" + ExpiresByType image/x-icon "access plus 1 month" + ExpiresByType text/css "access plus 1 month" + ExpiresByType text/html "access plus 1 month" + ExpiresByType text/javascript "access plus 1 month" + <FilesMatch "\.php$"> + ExpiresActive Off + </FilesMatch> +</IfModule> + +<IfModule mod_headers.c> + <FilesMatch "\.(css|html|js|ico|gif|png|woff)$"> + Header merge Cache-Control "public" + </FilesMatch> +</IfModule> |
