首页 > 开发 > Apache > 正文

让Apache支持shtml 的 include

2019-10-13 18:07:43
字体:
来源:转载
供稿:网友
修改Apache配置文档 httpd.conf
增加:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

再在
<Directory   /></Directory> 
中加上:
Options   FollowSymLinks   MultiViews   Includes

记得重启Apache   
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表