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)  編輯  收藏 所屬分類: 原創作品
          主站蜘蛛池模板: 新野县| 河曲县| 沅陵县| 定陶县| 三明市| 体育| 台东市| 成武县| 灵川县| 五台县| 乾安县| 长垣县| 电白县| 沙河市| 海兴县| 依兰县| 石狮市| 岳西县| 寿光市| 江阴市| 郯城县| 宜阳县| 淮滨县| 射阳县| 怀柔区| 镇雄县| 苏尼特左旗| 青铜峡市| 泸西县| 东辽县| 石泉县| 宁乡县| 五原县| 济宁市| 潜山县| 蒲江县| 梨树县| 梅河口市| 乐平市| 南阳市| 昌图县|