IIS mod/扩展支持扩展服务器端包含 (XSSI)?
我一直在与一位设计师合作,他希望将 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 复制此行为,但我不知道这是否是此类处理的常见做法。
I've been working with a designer that wants ot bring some content developed on Apache to IIS. The content however makes use of XSSI. I have not been able to find out if IIS can support such things. Perhaps its named something else on Windows/IIS? A sample of this is shown below:
<!--#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 -->
It seems I could replicated this behaviour with classic .ASP but I dont know if this is the common practice for this sort of processing.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
任何版本的 IIS 都不支持 XSSI,您必须编写 .asp 或 asp.net 代码等代码来完成此类事情。
XSSI is not supported by any version of IIS, you have to write code such as .asp or asp.net code to accomplish this sort of thing.