By 2 Marzo 2017 0 Comments

IIS – Aggiungere un mime type (custom) su un path

Il seguente esempio mostra come aggiungere un mime type personalizzato su IIS, ma per l’utilizzo su un path definito:

La seguente istruzione deve essere inserita nel web.config

<location path=”test”>
<system.webServer>
<httpErrors errorMode=”Detailed” />
<staticContent>
<mimeMap fileExtension=”.ply” mimeType=”text/plain” />
</staticContent>
</system.webServer>
</location>

mime type, mime type personalizzato su IIS, mime type iis path, mime type iis custom path

Posted in: IIS 7, IIS 8

About the Author:

shared on wplocker.com