-
Notifications
You must be signed in to change notification settings - Fork 154
Description
I have the problem that after adding i18n to my project, IIS will not serve additional static file types added via web.config:
<system.webServer>
<staticContent>
<mimeMap fileExtension=".mem" mimeType="application/octet-stream" />
</staticContent>
Browsers will not download .mem files - I get an 404 error. I tried
i18n.LocalizedApplication.Current.UrlsToExcludeFromProcessing = New System.Text.RegularExpressions.Regex("(.mem)$")
but this doesn't help. I also tried setting i18n.UrlLocalizer.UrlLocalizationScheme = i18n.UrlLocalizationScheme.Void
- this helps and shows me that the cause must be somewhere in i18n. It seems to me that somehow, when using i18n, the added fileTypes in staticContent are ignored. Could this be the case? If so, what can I do to make this work again?
Any help would be greatly appreciated, because i18n has been a blessing for me so far.