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 技術資源 閱讀(3967) 評論(0)  編輯  收藏 所屬分類: 原創作品
          主站蜘蛛池模板: 博湖县| 襄樊市| 达日县| 龙里县| 新密市| 恩平市| 弥渡县| 延安市| 石河子市| 上犹县| 海城市| 宝清县| 大丰市| 海兴县| 富宁县| 万宁市| 凉城县| 乌鲁木齐县| 曲水县| 彭泽县| 民勤县| 肥东县| 平谷区| 万安县| 临沧市| 启东市| 济源市| 岳普湖县| 德惠市| 乳山市| 常德市| 蒙山县| 墨脱县| 崇信县| 望都县| 南和县| 库车县| 察隅县| 禹州市| 伊川县| 塘沽区|