Setting MIME Types on Web Servers for Use with NetShow

ID: Q189404

The information in this article applies to:

SUMMARY

The following Multipurpose Internet Mail Extensions (MIME) types are used by NetShow Streaming Services for Windows NT:

   MIME type: video/x-ms-asf
   Extensions: asf,asx

This MIME type is set properly for Microsoft Internet Information Server (IIS) if you install the NetShow Streaming Services on the same computer as IIS.

If you are installing the NetShow Streaming Services for Windows NT on a computer that does not have Internet Information Server installed or you are using a Web server that is located on a different computer than the NetShow services, you may need to set the MIME type on that server.

MORE INFORMATION

The following are instructions for setting the proper MIME type on a variety of Web servers. If you require additional assistance setting the MIME type on your Web server, please contact the appropriate software vendor for technical support.

The third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability.

Internet Information Services 4.0

1. Open the Microsoft Management Console (MMC).

2. Right-click the Computer and choose Properties to open the Master

   properties for the server.

3. Select the File Types button to configure Multipurpose Internet Mail
   Extensions (MIME) mappings.

   NOTE: These mappings set the various file types that the Web service
   returns to browsers. The registered file types that are installed by
   default on Windows NT are listed in the File Types dialog box. File
   type extensions and MIME mappings are listed for selected file types in
  the File type details box.

4. Click the New Type button in the File Types dialog box. In the File
   Type dialog box, type the following extension:
           ASX
   In the Content Type (MIME) box, type:
           video/x-ms-asf

5. Click OK to commit your changes.

6. Click the New Type button in the File Types dialog box. In the File Type

   dialog box, type the following extension:
          ASF
   In the Content Type (MIME) box, type:
          video/x-ms-asf

7. Click OK commit your changes, click OK to close the File Types dialog
   box, and then click OK to close the Master Properties dialog box.

Apache

1. Ensure that you have server administration privileges.

2. Change directories to <apache_root>/httpd/conf. Edit the file "srm.conf"

   and type the following line at the end of the file or where the other
   AddType video/* entries are found:

      AddType video/x-ms-asf asf asx

   NOTE: If you add the above line to the end of the file, make sure that
   the file ends with a blank line.

3. Quit the editor and save changes, and then restart the Web server.

NCSA HTTPD

1. Ensure that you have server administration privileges.

2. Change directories to <httpd_root>/conf and edit the file "mimes.types".

3. Type the following line at the end of the file or where the other

   video/* entries are found:

      video/x-ms-asf asf asx

   NOTE: If you add the above line to the end of the file, make sure that
   the file ends with a blank line.

4. Quit the editor and save changes, and then restart the Web server.

O'Reilly Website

1. Click on the ORA Website yellow gear icon (right by the clock on the

   Taskbar), select Server Properties, and then choose the Mapping tab.

2. In the List Selector section, select the Content Types button.

3. In the File Extension (class) field, type ".asf" (without quotation

   marks).

4. In the MIME Content Type field, type "video/x-ms-asf" (without quotation
   marks).

5. Click Add, and then click Apply.

6. In the File Extension (class) field, type ".asx" (without quotation

   marks).

7. In the MIME Content Type field, type "video/x-ms-asf" (without quotation
   marks).

8. Click Add, and then click Apply. Click OK and then quit the editor and
   save changes.

9. Restart the Web server.

CERN HTTPD

1. Ensure that you have server administration privileges.

2. Change directories to <httpd_root>/conf and edit the file "mimes.types".

3. Type the following lines at the end of the file or where the other

   AddType ... video/* entries are found:

      AddType  .asf video/x-ms-asf binary
      AddType  .asx video/x-ms-asf binary

   NOTE: If you add the above lines to the end of the file, make sure that
   the file ends with a blank line.

4. Quit the editor and save changes, and then restart the Web server.

Roxen Challenger/Spinner

1. Ensure that you have server administration privileges.

2. Change directories to <webserver_root>/etc . Edit the file "extensions".

   Type the following lines at the end of the file:

      asf   video/x-ms-asf
      asx   video/x-ms-asf

3. Quit the editor and save changes, and restart the Web server.

Netscape Web Servers

1. Ensure that you have server administration privileges.

2. Change directories to <netscape-server_root>\config and edit the

   file "mime.types".

3. Type the following line at the end of the file or where the other
   type=video/* entries are found:

      type=video/x-ms-asf   exts=asf,asx

   NOTE: If you add the above line to the end of the file, make sure that
   the file ends with a blank line.

4. Quit the editor and save changes. Restart the Web server.

EMWAC for NT

1. Ensure that you have server administration privileges.

2. Open the HTTP server Control Panel applet and click the New Mapping

   button.

3. Type the extension "ASF" into the extension field (without quotation
   marks).

4. Type the following into the text box for MIME type:

      video/x-ms-asf

5. Click OK.

6. Click the New Mapping button, and type the extension "ASX" into

   the extension field (without quotation marks).

7. Type the following in the text box for MIME type:

      video/x-ms-asf

8. Click OK, quit the editor and save changes, and then restart the Web
   server.

WebSTAR/WebSTAR PS (Macintosh)

1. Open the WebSTAR Administration application.

2. Open the Configure menu and select Suffix Mapping.

3. Set Action to BINARY, set File Suffix to ".asf", set File Type to "*",

   set MIME type to "video/x-ms-asf", set Creator to "*", and then click
   Add to add the new suffix mapping.

4. Set Action to BINARY, set File Suffix to ".asx", set File Type to "*",
   set MIME type to "video/x-ms-asf", set Creator to "*", and then click
   Add to add the new suffix mapping.

5. Click Update to apply the changes.

Glaci HTTPd (NetWare)

1. Ensure that you have server administration privileges.

2. Change directories to <glaci_root> (usually sys:\etc) and edit the file

   "mimetype.cdf".

3. Type the following line at the end of the file or where the other
   video/* entries are found:

      video/x-ms-asf asf asx

   NOTE: If you add the above line to the end of the file, make sure that
   the file ends with a blank line.

4. Save the changes to the file.

Keywords          :  
Version           : WINNT:2.0,3.0
Platform          : winnt
Issue type        : kbhowto

Last Reviewed: October 6, 1998