Today we got a .ogv file to serve via a servicestack website. The request for the .ogv failed with a ‘forbidden 403’ error.
I managed to get is working by adding the .ogv to the allowed extensions. Please add it to the default extension.
My fix:
MimeTypes.ExtensionMimeTypes["ogv"] = "video/ogg";
var afe = Config.AllowFileExtensions;
afe.Add("ogv");
SetConfig(new HostConfig
{
AllowFileExtensions = afe,
});