Skip to content

Commit

Permalink
Reintroduce MIME type mappings for ico & svg
Browse files Browse the repository at this point in the history
Not all Apache `v2.2.x+` servers seem to have the following
`filename expression` to `content type` mappings:

  * `ico` ↔ `image/x-icon`
  * `svg` ↔ `image/svg+xml`

Thanks @matthewlein.

Ref:   #28.
Close: #28.
  • Loading branch information
alrra committed Apr 24, 2014
1 parent 40373cc commit 9e3543d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Options -MultiViews

# Make SVGZ fonts work on the iPad.
# https://twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svgz
AddType image/svg+xml svg svgz
AddEncoding gzip svgz

# Other
Expand All @@ -167,7 +167,7 @@ Options -MultiViews
AddType application/x-xpinstall xpi
AddType application/xml atom rdf rss xml
AddType image/webp webp
AddType image/x-icon cur
AddType image/x-icon cur ico
AddType text/cache-manifest appcache manifest
AddType text/vtt vtt
AddType text/x-component htc
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### HEAD

* Reintroduce the `filename extension` to `content type` mappings for `ico`
and `svg` ([#28](https://github.com/h5bp/server-configs-apache/issues/28)).

### 2.3.0 (April 10, 2014)

* Send `X-Content-Type-Options` header by default
Expand Down

0 comments on commit 9e3543d

Please sign in to comment.