JAVA & XML & JAVASCRIPT & AJAX & CSS

          Web 2.0 技術儲備............

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            77 隨筆 :: 17 文章 :: 116 評論 :: 0 Trackbacks
          http://support.microsoft.com/?scid=kb%3Ben-us%3B306231&x=16&y=11

          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

          如上所說修改Apache配置文件:
              1.修改 /apache2/conf/mime.types文件,在末尾增加一行:text/x-component htc
              2.修改 /apache2/conf/httpd.conf文件,在末尾增加一行:AddType text/x-component .htc 
              3.重啟apache服務器
              4.清空IE緩存測試下,問題解決了(這個還是有必要的)。

              如果增加 AddType text/x-component .htc 后無法啟動Apache,就不要增加了。
              從上面的文檔來說其實只要修改其中一個就行了。 

          posted on 2009-01-06 17:40 Web 2.0 技術資源 閱讀(3975) 評論(0)  編輯  收藏 所屬分類: 原創作品
          主站蜘蛛池模板: 武鸣县| 大埔区| 洛扎县| 白山市| 大新县| 广宗县| 泊头市| 上栗县| SHOW| 邛崃市| 华坪县| 轮台县| 临沭县| 恩平市| 松滋市| 赤水市| 田林县| 高邮市| 奉贤区| 凌云县| 兴业县| 宁城县| 万全县| 井研县| 嘉荫县| 南郑县| 博罗县| 泗洪县| 本溪| 芜湖市| 清原| 海宁市| 平泉县| 宿松县| 彭州市| 江北区| 临城县| 翁牛特旗| 阳信县| 博罗县| 南宁市|