Tuesday, July 2, 2013

Configure your web server to serve .iso and/or .gi files

We accept .iso and .gi DVD and CD disc image files for download.  However, your web server may not serve these by default.  If you plan to load your .iso file to your server, you may need to set your MIME type

.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:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Click Start, select Programs, and then click Administrative Tools
    • For IIS 6.0 click Internet Information Services.
  3. 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.
  4. 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.
  5.  
  1. On the HTTP Headers tab click MIME Types
  2. Click New
  3. 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:

  1. Click Start, select Run, type command to open a command prompt.
  2. 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

TrepStar.com cdDVDfulfillment FAQ Help and Search

FAQ Help & Search
We produce your CD/DVD/USB Flash drive at order time.
These "On Demand", "Just in Time", "one off", "short run", CDs or DVDs or USB thumb drive products will be mailed directly to your customers (normally the next business day), in any quantity, and shipped to anywhere in the world with a USPS address.