Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
404 error for a file which exists
Message
De
02/03/2015 14:53:39
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01615918
Message ID:
01616104
Vues:
22
>>>>Use the code given in the link:
 <system.webServer>
>>>>    <staticContent>
>>>>      <remove fileExtension=".woff" /> <!-- In case IIS already has this mime type -->
>>>>      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
>>>>    </staticContent>    
>>>>  </system.webServer>
>>>>
>>>
>>>That code was already in web config. I just need the same for extension woff2.
>>
>>Then you just need to duplicate it and add some '2''s ?
>
>In addition to web.config we have web.Release.config and web.Debug.config. Should I apply similar changes there as well?
>
>UPDATE. Never mind, I don't think these two are used at all - they don't seem to contain correct info anyway.

If they are there then they *will* be used. But it's possible neither contains any relevant transforms (except probably 'debug off' in the release version) - in which case it doesn't matter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform