@@ -97,7 +97,7 @@ Options -MultiViews
97
97
Header set X-UA-Compatible "IE=edge"
98
98
# `mod_headers` cannot match based on the content-type, however, this header
99
99
# 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)$" >
101
101
Header unset X-UA-Compatible
102
102
</FilesMatch >
103
103
</IfModule >
@@ -136,6 +136,7 @@ Options -MultiViews
136
136
# Data interchange
137
137
AddType application/json json map
138
138
AddType application/ld+json jsonld
139
+ AddType application/vnd.geo+json geojson
139
140
140
141
# JavaScript
141
142
# Normalize to standard type.
@@ -221,7 +222,7 @@ AddDefaultCharset utf-8
221
222
222
223
# Set `UTF-8` as the character encoding for other certain resources.
223
224
<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
225
226
</IfModule >
226
227
227
228
@@ -233,8 +234,8 @@ AddDefaultCharset utf-8
233
234
# | Rewrite engine |
234
235
# ------------------------------------------------------------------------------
235
236
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).
238
239
239
240
# If your web host doesn't allow the `FollowSymlinks` option, you may need to
240
241
# comment it out and use `Options +SymLinksIfOwnerMatch`, but be aware of the
@@ -330,7 +331,7 @@ AddDefaultCharset utf-8
330
331
331
332
# <IfModule mod_headers.c>
332
333
# 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)$">
334
335
# Header unset X-Frame-Options
335
336
# </FilesMatch>
336
337
# </IfModule>
@@ -355,7 +356,7 @@ AddDefaultCharset utf-8
355
356
356
357
# <IfModule mod_headers.c>
357
358
# 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)$">
359
360
# Header unset Content-Security-Policy
360
361
# </FilesMatch>
361
362
# </IfModule>
@@ -485,7 +486,7 @@ AddDefaultCharset utf-8
485
486
# <IfModule mod_headers.c>
486
487
# # (1) (2)
487
488
# 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)$">
489
490
# Header unset X-XSS-Protection
490
491
# </FilesMatch>
491
492
# </IfModule>
@@ -587,6 +588,7 @@ AddDefaultCharset utf-8
587
588
application/ld+json \
588
589
application/manifest+json \
589
590
application/rss+xml \
591
+ application/vnd.geo+json \
590
592
application/vnd.ms-fontobject \
591
593
application/x-font-ttf \
592
594
application/x-web-app-manifest+json \
@@ -651,6 +653,7 @@ FileETag None
651
653
# Data interchange
652
654
ExpiresByType application/json "access plus 0 seconds"
653
655
ExpiresByType application/ld+json "access plus 0 seconds"
656
+ ExpiresByType application/vnd.geo+json "access plus 0 seconds"
654
657
ExpiresByType application/xml "access plus 0 seconds"
655
658
ExpiresByType text/xml "access plus 0 seconds"
656
659
0 commit comments