Select the product you need help with
SSI Output Disappears After You Apply Security PatchesArticle ID: 318176 - View products that this article applies to. This article was previously published under Q318176 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx For more information about IIS 7.0, visit the following Microsoft Web site:
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
http://www.iis.net/default.aspx?tabid=1
(http://www.iis.net/default.aspx?tabid=1)
On This PageSYMPTOMS
When you execute a server-side include (SSI) program by using the <!--#exec cgi--> command on a server that is running either Microsoft Windows NT 4.0 with Service Pack 4 (SP4) or later applied or Microsoft Windows 2000 with Service Pack 2 (SP2) or later applied, the output of the program does not appear on the page. If you run the same program on an unpatched server, the output appears as expected.
CAUSE
After you apply these specified service packs, Internet Information Services (IIS) expects any SSI program that is executed by using the <!--#exec cgi--> command to follow the Common Gateway Interface (CGI) specification. This specification requires CGI programs to print a Content-Type HTTP header before any other output. IIS silently ignores this header and removes it from the final program output that it displays on the page. If the SSI program does not include this header, IIS executes the program but does not display any of its output. This is a change from the behavior of previous versions of Windows, which do not require these headers and which display any included HTTP headers on the page before the rest of the output from the SSI program.
RESOLUTION
You can make the output appear in one of two ways:
STATUS
This behavior is by design.
MORE INFORMATION
To enable SSIs, follow these steps:
Steps to Reproduce the Behavior
REFERENCES
For more information about SSIs, see the "Server-Side Includes" topic in the IIS online documentation. To view this topic, locate Administration, locate Web Site Management, and then locate Server-Side Includes. The IIS online documentation is accessible through the following URL from any computer with the IIS documentation installed:
http://localhost/iishelp
(http://localhost/iishelp)
PropertiesArticle ID: 318176 - Last Review: July 7, 2008 - Revision: 3.1
|


Back to the top








