-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.htaccess
31 lines (27 loc) · 944 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# To use this file it is usually required to configure your Apache installation
# and add the following lines into your config (without the # character):
#<Directory /client/installation/directory/>
# AllowOverride FileInfo Limit
# Order allow,deny
# allow from all
#</Directory>
# You must enable mod_headers and mod_mime for these directives (optionally you can also enable mod_deflate)!
<IfModule mod_expires.c>
ExpiresActive On
<FilesMatch "^(?!.*\.(svg|png|gif)$).*$">
ExpiresDefault "access"
</FilesMatch>
<FilesMatch "\.(svg|png|gif)$">
ExpiresDefault "access plus 30 minutes"
</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>
<IfModule mod_mime.c>
AddType text/cache-manifest .manifest
</IfModule>
# If you use mod_cache set the correct path for the cache.manifest here
#<IfModule mod_cache.c>
# CacheDisable cache.manifest
#</IfModule>