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

时间:2021-12-19 16:18:21

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:

我一直在与一位设计师合作,他希望将一些在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 --> 

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.

似乎我可以用经典的.ASP复制这种行为,但我不知道这是否是这种处理的常见做法。

1 个解决方案

#1


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.

任何版本的IIS都不支持XSSI,您必须编写诸如.asp或asp.net代码之类的代码来完成此类操作。

#1


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.

任何版本的IIS都不支持XSSI,您必须编写诸如.asp或asp.net代码之类的代码来完成此类操作。