摘要: 修改Apache配置文件:
1.修改 /apache2/conf/mime.types文件,在末尾增加一行:text/x-component htc
2.修改 /apache2/conf/httpd.conf文件,在末尾增加一行:AddType text/x-component .htc
3.重啟apache服務(wù)器
4.清空IE緩存測(cè)試下,問(wèn)題解決了(這個(gè)還是有必要的)。
如果增加 AddType text/x-component .htc 后無(wú)法啟動(dòng)Apache,就不要增加了。
從上面的文檔來(lái)說(shuō)其實(shí)只要修改其中一個(gè)就行了。
閱讀全文