Previous Message
Next Message

IE6 and csshover.htc

Sent by brian ally on 11 April 2005 15:03


>> HTC-files *must* be sent as text/x-component, but your server is sending 
>> the file as text/plain.
>> This was changed in IE thru WinXP SP2.

> Recently I've read about 'text/x-application' being the correct MIME. 
> Anybody knows if both of them work?

microsoft says it's x-component
http://support.microsoft.com/?kbid=306231

BTW, that page also points out IE's wonderful FindMimeFromData method 
which has caused all sorts of grief in the past (it sometimes gets it 
wrong).

If you don't have access to httpd.conf(*), try this in .htaccess

AddType text/x-component .htc

or:

RewriteEngine on
RewriteCond %{REQUEST_URI} \.htc$
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - [T=text/x-component]

(*) although if your server is managed by someone else, send them that 
MS link. They really should make this a global change.

hth
brian

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: