.iso and .gi files are of type application/octet-stream
The following example explains how to set this within IIS. You can also right click to get properties of your web site and click the HTTP Headers tab where you can add mime types to just a single web site.
IIS 6 Example.
To add a new MIME type, please follow these steps:
- Log into your server through Terminal Services or Remote Desktop Connection.
- Click Start, select Programs, and then click Administrative Tools.
- For IIS 6.0 click Internet Information Services.
- In the left column you will see the Server Name.
- In IIS 6.0, expand the Server Name and then Web Sites to find the domain name.
- If you would like to add the MIME type to a specific website, right-click on the domain name and select Properties. If you would like to add MIME types globally to all websites on the server, right-click Web Sites and select Properties.
- On the HTTP Headers tab click MIME Types.
- Click New
- .
- Enter the appropriate information:
- Extension - the file type extension.
- MIME type - the type of file this extension refers to (view a list of common MIME types).
- .gi and .iso both application/octet-stream
You may need to restart the IIS service for the MIME type to begin working.
To restart the IIS service, please follow these steps:
- Click Start, select Run, type command to open a command prompt.
- Type iisreset and press Enter. This will stop the IIS service and then restart it.
Note: Restarting the IIS service will temporarily suspend the web service and prevent websites from working. The reset should only take around 10 - 30 seconds to complete.
No comments:
Post a Comment