Article ID: 306231 - Last Review: May 12, 2007 - Revision: 3.1 PRB: Apache Web Server Does Not Load HTC BehaviorsThis article was previously published under Q306231 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. SYMPTOMS
When you use the Apache Web server to host a Web page that is linked to Hypertext Markup Language (HTML) components (.htc files), the HTC behaviors do not work in Internet Explorer.
CAUSE
The Apache Web server does not have the correct Multipurpose Internet Mail Extension (MIME) information for the .htc files. The Apache Web server returns the .htc MIME type as:
www/unknown
Note: The correct MIME type of the .htc file is Text/x-component. RESOLUTION
You can resolve the problem on the Apache Web server side if you add the correct MIME type for the HTC behavior with the following command: AddType text/x-component .htc If the command AddType is not found or is not available, follow these steps to add the MIME type text/x-component for the .htc file manually to the Apache Web server.
STATUS
This behavior is by design.
REFERENCES
For more information, visit the following Microsoft Web sites: Appendix A: MIME Type Detection in Internet Explorer
For information about how to add a MIME Type to the Apache Web server, visit the following Apache Web sites:
http://msdn2.microsoft.com/en-us/library/ms775147.aspx (http://msdn2.microsoft.com/en-us/library/ms775147.aspx) Support WebCast: MIME Type Handling in Microsoft Internet Explorer http://support.microsoft.com/kb/325241 (http://support.microsoft.com/kb/325241) HTC Reference http://msdn2.microsoft.com/en-us/library/ms531018.aspx (http://msdn2.microsoft.com/en-us/library/ms531018.aspx)
Apache Server Frequently Asked Questions http://httpd.apache.org/docs/misc/FAQ.html (http://httpd.apache.org/docs/misc/FAQ.html) AddType directive http://httpd.apache.org/docs/mod/mod_mime.html#addtype (http://httpd.apache.org/docs/mod/mod_mime.html#addtype) | Article Translations
|


Back to the top
