歡迎您光臨本站 註冊首頁
小知識  >  Html >

apache中如何用ssi解析html文件

admin @ 2017-11-21 reply:0
←手機掃碼閱讀

先找到<IfModule mime_module>這個標籤,把這兩個註釋去掉,擴展名改為你想要的就可以了.
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml

例如可以做成以下這樣:
AddType text/html .html
AddType text/html .shtml
AddType text/html .htm
AddOutputFilter INCLUDES .html
AddOutputFilter INCLUDES .shtml
AddOutputFilter INCLUDES .htm

[admin via ] apache中如何用ssi解析html文件已經有819次圍觀

http://coctec.com/room/show-176.html