1、查找

1
2
AddType text/html .shtml
AddHandler server-parsed .shtml

将前边的#注释符去掉

2、找到<Directory "d:/APM_Setup/htdocs"></Directory>

这里是网站根目录设置选项,(路径会有所不同)
在Option 选项后加 Includes

1
2
3
4
5
6
<Directory "d:/APM_Setup/htdocs">
Options FollowSymLinks MultiViews ExecCGI Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

3、保存httpd.conf修改,重起apache