Skip to content

Commit c571087

Browse files
committed
Remove AddType mappings covered by Apache v2.2.0+
Remove filename extension to content type mappings that are already provided by Apache v2.2.0+: +---------------------------------+-------------+---------------------+ | MIME Type | Filename | Apache version | | | extension | since introduced | +---------------------------------+-------------+---------------------+ | application/x-shockwave-flash | swf | < v2.0.x | | image/svg+xml | svg | v2.0.x | | image/x-icon | ico | v2.0.x | +---------------------------------+-----------------------------------+ Close #4.
1 parent c7c0abb commit c571087

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.htaccess

+2-4
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Options -MultiViews
131131
AddType application/json json
132132

133133
# Video
134-
AddType video/mp4 mp4 m4v f4v f4p
134+
AddType video/mp4 f4v f4p m4v mp4
135135
AddType video/ogg ogv
136136
AddType video/webm webm
137137
AddType video/x-flv flv
@@ -148,19 +148,17 @@ Options -MultiViews
148148

149149
# Make SVGZ fonts work on iPad:
150150
# https://twitter.com/FontSquirrel/status/14855840545
151-
AddType image/svg+xml svg svgz
151+
AddType image/svg+xml svgz
152152
AddEncoding gzip svgz
153153

154154
# Other
155155
AddType application/octet-stream safariextz
156156
AddType application/x-chrome-extension crx
157157
AddType application/x-opera-extension oex
158-
AddType application/x-shockwave-flash swf
159158
AddType application/x-web-app-manifest+json webapp
160159
AddType application/x-xpinstall xpi
161160
AddType application/xml atom rdf rss xml
162161
AddType image/webp webp
163-
AddType image/x-icon ico
164162
AddType text/cache-manifest appcache manifest
165163
AddType text/vtt vtt
166164
AddType text/x-component htc

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
### HEAD
22

3-
* Remove `screen flicker` fix required by IE 6.
3+
* Remove filename extension to content type mappings that are already provided by Apache v2.2.0+ ([#4](https://github.com/h5bp/server-configs-apache/issues/4)).
4+
* Improve inline comments.
5+
* Remove `screen flicker` fix required by IE 6 ([#3](https://github.com/h5bp/server-configs-apache/issues/3)).
46

57
### 1.1.0 (July 27, 2013)
68

0 commit comments

Comments
 (0)