先停服务在修改httpd.conf,备份下
Apache\Apache24\conf
设置httpd.conf
LoadModule ssl_module modules/mod_ssl.so 取消该命令前的注释符#
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
取消该命令前的注释符#
加入html
搜索Options Indexes FollowSymLinks改为: Options Indexes FollowSymLinks INCLUDES IncludesNOEXEC
htdocs\index.html
<head>
<meta charset=utf-8/>
<title></title>
</head>
<body>
<!-- #config timefmt="%y年%m月%d日"-->
<p>Date = <!--#echo var = "date_local" --></p>
</body>
</html>