[thelist] csshover.htc and IE security warning

Max Schwanekamp lists at neptunewebworks.com
Thu Feb 9 17:23:19 CST 2006

Michael Lodick wrote:
> In the past we would be done, but when Microsoft's XP Service Pack 2 is 
> installed on a user's computer, the Windows OS will reject the .htc 
> file, unless your site server serves that file with the MIME-type: 
> text/x-component. You cannot set this yourself unless you have 
> administrator privileges on that server, so you will probably have to 
> get the server administrator to make sure that the served MIME-type is 
> correct for .htc files. A properly configured server should already be 
> this way, but we all know how things work in the real world, sometimes.

If the server happens to be running Apache, you can set the mime-type 
with the AddType directive in an .htaccess file:
AddType text/x-component .htc

Max Schwanekamp

More information about the thelist mailing list