IIS mod/扩展支持扩展服务器端包含 (XSSI)?

发布于 2024-07-19 02:11:59 字数 518 浏览 5 评论 0原文

我一直在与一位设计师合作,他希望将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海风掠过北极光 2024-07-26 02:11:59

任何版本的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文