Addtype .webm .htaccess

apps

#1

When adding to /home/username/example.com/.htaccess:

AddType video/webm .webm

And I run from my local machine:

curl --head http://example.com/site/files/2012/01/video.webm

I get an image content type:

HTTP/1.1 200 OK
Date: Fri, 24 Feb 2012 00:04:18 GMT
Server: Apache
ETag: "86cd0c2779283a9794ad2c6640278273"
Expires: Sun, 26 Apr 2015 09:50:59 GMT
Content-Length: 3131313
Last-Modified: Thu, 23 Feb 2012 09:08:44 GMT
Content-Type: image/webm


#2

Works on my machine.

Try this using this in an .htaccess file located in the parent directory:
RemoveType .webm

(it has to be parent directory, documentation says RemoveType is processed after AddType)


#3

Tracked this down, and it is in WordPress that the mime is being incorrectly set:
http://core.trac.wordpress.org/ticket/20136