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)  編輯  收藏 所屬分類: 原創作品
          主站蜘蛛池模板: 康乐县| 谷城县| 甘肃省| 彩票| 郁南县| 枣庄市| 西和县| 博客| 响水县| 萍乡市| 肥城市| 博野县| 正安县| 云梦县| 鄂尔多斯市| 肃宁县| 金坛市| 海盐县| 临城县| 琼中| 金塔县| 台山市| 石家庄市| 昭通市| 阜阳市| 威信县| 巴林左旗| 咸丰县| 绥德县| 林口县| 师宗县| 石门县| 贵阳市| 托克逊县| 肇州县| 闵行区| 南安市| 永新县| 县级市| 福贡县| 咸丰县|