@@ -97,7 +97,7 @@ Options -MultiViews
9797 Header set X-UA-Compatible "IE=edge"
9898 # `mod_headers` cannot match based on the content-type, however, this header
9999 # should be send only for HTML documents and not for the other resources
100- <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$" >
100+ <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|geojson| gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$" >
101101 Header unset X-UA-Compatible
102102 </FilesMatch >
103103</IfModule >
@@ -136,6 +136,7 @@ Options -MultiViews
136136 # Data interchange
137137 AddType application/json json map
138138 AddType application/ld+json jsonld
139+ AddType application/vnd.geo+json geojson
139140
140141 # JavaScript
141142 # Normalize to standard type.
@@ -221,7 +222,7 @@ AddDefaultCharset utf-8
221222
222223# Set `UTF-8` as the character encoding for other certain resources.
223224<IfModule mod_mime.c >
224- AddCharset utf-8 .atom .css .js .json .jsonld .rss .vtt .webapp .xml
225+ AddCharset utf-8 .atom .css .geojson . js .json .jsonld .rss .vtt .webapp .xml
225226</IfModule >
226227
227228
@@ -233,8 +234,8 @@ AddDefaultCharset utf-8
233234# | Rewrite engine |
234235# ------------------------------------------------------------------------------
235236
236- # Turn on the rewrite engine and enable the `FollowSymLinks` option (this is
237- # necessary in order for the following directives to work).
237+ # Turn on the rewrite engine and enable the `FollowSymLinks` option
238+ # (this is necessary in order for the following directives to work).
238239
239240# If your web host doesn't allow the `FollowSymlinks` option, you may need to
240241# comment it out and use `Options +SymLinksIfOwnerMatch`, but be aware of the
@@ -330,7 +331,7 @@ AddDefaultCharset utf-8
330331
331332# <IfModule mod_headers.c>
332333# Header set X-Frame-Options "DENY"
333- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
334+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|geojson| gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
334335# Header unset X-Frame-Options
335336# </FilesMatch>
336337# </IfModule>
@@ -355,7 +356,7 @@ AddDefaultCharset utf-8
355356
356357# <IfModule mod_headers.c>
357358# Header set Content-Security-Policy "script-src 'self'; object-src 'self'"
358- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
359+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|geojson| gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
359360# Header unset Content-Security-Policy
360361# </FilesMatch>
361362# </IfModule>
@@ -485,7 +486,7 @@ AddDefaultCharset utf-8
485486# <IfModule mod_headers.c>
486487# # (1) (2)
487488# Header set X-XSS-Protection "1; mode=block"
488- # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
489+ # <FilesMatch "\.(appcache|atom|crx|css|cur|eot|f4[abpv]|flv|geojson| gif|htc|ico|jpe?g|js|json(ld)?|m4[av]|manifest|map|mp4|oex|og[agv]|opus|otf|pdf|png|rdf|rss|safariextz|svgz?|swf|tt[cf]|txt|vcf|vtt|webapp|web[mp]|woff|xml|xpi)$">
489490# Header unset X-XSS-Protection
490491# </FilesMatch>
491492# </IfModule>
@@ -587,6 +588,7 @@ AddDefaultCharset utf-8
587588 application/ld+json \
588589 application/manifest+json \
589590 application/rss+xml \
591+ application/vnd.geo+json \
590592 application/vnd.ms-fontobject \
591593 application/x-font-ttf \
592594 application/x-web-app-manifest+json \
@@ -651,6 +653,7 @@ FileETag None
651653 # Data interchange
652654 ExpiresByType application/json "access plus 0 seconds"
653655 ExpiresByType application/ld+json "access plus 0 seconds"
656+ ExpiresByType application/vnd.geo+json "access plus 0 seconds"
654657 ExpiresByType application/xml "access plus 0 seconds"
655658 ExpiresByType text/xml "access plus 0 seconds"
656659
0 commit comments