Home > adsense > directadmin and apache .htc文件 IE 读取问题

directadmin and apache .htc文件 IE 读取问题

October 17th, 2008

因为ie6的不支持伪类hover的问题,所以需要加一个.htc来校正一下。

在本地xampp测试一切正常。但是放在服务器上就不行。服务器FreeBSD,用的是DirectAdmin

http://support.microsoft.com/?scid=k…6231&x=16&y=11

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.
1. Locate the directory /Etc/apache/.
2. Open the file Mime.types.
3. Add the following line to the file: text/x-component htc
4. Save and close the file.
5. Restart the Apache Web server. The Mime.types file is reloaded after you type: /usr/apache/bin/apachectl restart

BUT, Null and void,
I do’t know Directadmin where in the end of the mime control. I have all the normal local xampp.

I modified the /etc/mime.types and /etc/httpd/conf/mime.types
Are null and void

那位大侠要是知道怎么回事儿,告诉我一声啊。不胜感谢。

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Live
  • Google Bookmarks
  • MySpace
  • email

adsense

  1. No comments yet.
  1. No trackbacks yet.