Setting MIME Types on Web Servers for Use with NetShow
ID: Q189404
|
The information in this article applies to:
-
Microsoft NetShow, version 2.0
-
Microsoft Windows NT Server NetShow Services version 3.0
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
- Open the Microsoft Management Console (MMC).
- Right-click the Computer and choose Properties to open the Master
properties for the server.
- 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.
- 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
- Click OK to commit to your changes.
- 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
- Click OK to commit to your changes, click OK to close the File Types dialog
box, and then click OK to close the Master Properties dialog box.
Apache
- Ensure that you have server administration privileges.
- 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.
- Quit the editor and save changes, and then restart the Web server.
NCSA HTTPD
- Ensure that you have server administration privileges.
- Change directories to <httpd_root>/conf and edit the file
"mimes.types".
- 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.
- Quit the editor and save changes, and then restart the Web server.
O'Reilly Website
- Click on the ORA Website yellow gear icon (right by the clock on the
Taskbar), select Server Properties, and then choose the Mapping tab.
- In the List Selector section, select the Content Types button.
- In the File Extension (class) field, type .asf.
- In the MIME Content Type field, type video/x-ms-asf.
- Click Add, and then click Apply.
- In the File Extension (class) field, type .asx.
- In the MIME Content Type field, type video/x-ms-asf.
- Click Add, and then click Apply. Click OK and then quit the editor and
save changes.
- Restart the Web server.
CERN HTTPD
- Ensure that you have server administration privileges.
- Change directories to <httpd_root>/conf and edit the file
"mimes.types".
- 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.
- Quit the editor and save changes, and then restart the Web server.
Roxen Challenger/Spinner
- Ensure that you have server administration privileges.
- 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
- Quit the editor and save changes, and restart the Web server.
Netscape Web Servers
- Ensure that you have server administration privileges.
- Change directories to <netscape-server_root>\config and edit the
file "mime.types".
- 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.
- Quit the editor and save changes. Restart the Web server.
EMWAC for NT
- Ensure that you have server administration privileges.
- Open the HTTP server Control Panel applet and click the New Mapping
button.
- Type the extension ASF into the extension field.
- Type the following into the text box for MIME type:
video/x-ms-asf
- Click OK.
- Click the New Mapping button, and type the extension ASX into
the extension field.
- Type the following in the text box for MIME type:
video/x-ms-asf
- Click OK, quit the editor and save changes, and then restart the Web
server.
WebSTAR/WebSTAR PS (Macintosh)
- Open the WebSTAR Administration application.
- Open the Configure menu and select Suffix Mapping.
- 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.
- 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.
- Click Update to apply the changes.
Glaci HTTPd (NetWare)
- Ensure that you have server administration privileges.
- Change directories to <glaci_root> (usually sys:\etc) and edit the file
"mimetype.cdf".
- 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.
- Save the changes to the file.
Additional query words:
Keywords :
Version : :2.0; winnt:3.0
Platform : winnt
Issue type : kbhowto
|