Microsoft KB Archive/241080

= How To Set the Windows Media MIME Type on an Apache Web Server =

Article ID: 241080

Article Last Modified on 8/30/2004

-

APPLIES TO


 * Microsoft Windows Media Services 4.0
 * Microsoft NetShow Theater Server 3.0 Standard Edition

-



This article was previously published under Q241080



The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.



SUMMARY
When placing .asx, .asf, .wma, and .wax files on a Web server it is necessary to change the Web server's MIME type so that client Web browsers understand how to handle these files. If no MIME type is set for these file types, the MIME type sent from the Web server to the browser is by default text/html, and that is incorrect. This can cause your .asx or .wax files to show in the browser window instead of starting the Windows Media Player.



MORE INFORMATION
To set up Windows Media MIME types for Apache, complete the following steps.

 Make sure you have server administration privileges. If you do not have server administration privileges and cannot get these privileges, relay this information to your server administrator and ask your server administrator to update these MIME type extensions. Change the folders to /httpd/conf. Edit the Srm.conf file.  Add the following lines of code to the end of the file, or to the same location as the other AddType video/* entries. AddType video/x-ms-asf asf asx AddType audio/x-ms-wma wma AddType audio/x-ms-wax wax If you add these lines to the end of the file, make sure the file ends with a blank line.  Save your changes and close the editor. Restart the Web server.</ol>

Additional query words: netshow wms

Keywords: kbhowto KB241080

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.