解析好的静态页面.shtml浏览器无法解析.需要apache解析后再返回给浏览器

解析好的静态页面.shtml浏览器无法解析.需要apache解析后再返回给浏览器

让Apache支持SHTML(SSI)的配置方法


http.conf放开
addtype text/html .shtml
addoutputfileter includes .shtml


再搜索Options Indexes FollowSymLinks

后面补上
Includes MultiViews ExecCGI

 

posted @ 2016-04-06 16:29  小庄啊  阅读(275)  评论(0编辑  收藏  举报