【发布时间】:2010-10-23 16:54:50
【问题描述】:
我一直在与一位设计师合作,他希望将一些在 Apache 上开发的内容带到 IIS 中。然而,内容使用 XSSI。我无法确定 IIS 是否可以支持这些东西。也许它在 Windows/IIS 上命名为其他名称?一个示例如下所示:
<!--#config timefmt="%Y%m%d" -->
<!--#if expr="$DATE_LOCAL < 20090311" -->
<P>This will be shown before my birthday in 2009
<!--#endif -->
<!--#if expr="$DATE_LOCAL >= 20090311" -->
<P>This will be shown during and after my birthday in 2009
<!--#endif -->
似乎我可以用经典的 .ASP 复制这种行为,但我不知道这是否是这种处理的常见做法。
【问题讨论】:
标签: apache iis asp-classic server-side-includes