请问如何配置iis可以让iis解析html的 #include 命令,谢谢!!
CNet 2004-04-23 09:31:30 使用asp或者asp.net的时候我们可以使用#include命令,让页面包含某个文件.
但是如果直接写在.html页面中#include却不能生效:
例如:
让页面包含 footer.inc文件
<table>
<tr>
<td>
test include
</td>
</tr>
</table>
test.html
<html>
<body>
<!-- #include file ="footer.inc" -->
</body>
</html>
在test.html这个例子#include 没有生效,
但是在test.asp
<html>
<body>
<!-- #include file ="footer.inc" -->
</body>
</html>
是可以起作用的.
请问如何配置iis可以让iis解析html的 #include 命令,谢谢!