Force video/webm mime type using .htaccess based on request uri
问题 I have a rewrite rule in .htaccess RewriteRule (.+?\.fid)/ /$1 [L] with a request URI like: /123.fid/myfile.webm How can I force the mime type to: video/webm using .htaccess including the rule above? What I have attempted already, to add on TOP of the .htaccess file without success: AddType video/webm .webm and <FilesMatch "\.webm$"> ForceType video/webm </FilesMatch> I use apaches mime_magic module to look up mime type of .fid files, but this doesn't apply to webm files. I'm assuming it's