<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'ssi server side include'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=ssi+server+side+include&amp;orTags=0</link><description>Search results matching tag 'ssi server side include'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Invalid request fails to serve 404 Error when extension is mapped to ssinc.dll</title><link>http://forums.iis.net/p/1154938/1892238.aspx#1892238</link><pubDate>Wed, 04 Feb 2009 06:44:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1892238</guid><dc:creator>shane.mulhall</dc:creator><cs:applicationKey>troubleshooting--1</cs:applicationKey><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Firstly thanks for all the contributors - both problem raisers and resolvers - where I have leveraged solutions from this site in the past.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Problem Symptom:&lt;/p&gt;
&lt;p&gt;Non existent URI of static content with a valid path within it fails to respond with a 404 error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;E.g.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://127.0.0.1/index.htm"&gt;http://127.0.0.1/index.htm&lt;/a&gt; exists and returns successfully&lt;/li&gt;
&lt;li&gt;&lt;a href="http://127.0.0.1/index.htm/%3cAnything"&gt;http://127.0.0.1/index.htm/&amp;lt;Anything&lt;/a&gt;&amp;gt; does not exist but returns the content of index.htm&lt;/li&gt;
&lt;li&gt;&lt;a href="http://127.0.0.1/index.htm/"&gt;http://127.0.0.1/index.htm/&lt;/a&gt; also returns the content of index.htm as does any further suffixing to &lt;a href="http://127.0.0.1/index.htm/"&gt;http://127.0.0.1/index.htm/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://127.0.0.1/SomeNonExistentPage"&gt;http://127.0.0.1/SomeNonExistentPage&lt;/a&gt; fails with a 404 as expected&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Irrespective of the address, if there is a valid partial address within the first part of the URI then the content of that valid address is served.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This symptom only occurs for static content. Requests to traditional .ASP content do not exhibit the above behaviour.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We have .htm and.html pages mapped to ssinc.dll because we have a large volume of legacy content that includes .htm(l) resources.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If .htm(l) mapping to ssinc.dll is NOT configured, then the symptom expressed in point 2 above does not occur; however the included content (#include file=...) is not retrieved and published - as expected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are at a total loss to find the reason for this. WFetch, WGet, etc reveal the 200 OK response so it&amp;#39;s not a browser issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Briefly the environment is:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Win 2003 Standard Edition&lt;/li&gt;
&lt;li&gt;IIS 6&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt; that&amp;nbsp;we have another similar&amp;nbsp;server environment&amp;nbsp;that exhibits the exact same behaviour.&lt;/p&gt;</description></item><item><title>SSI Server Side Includes -- Not working as advertised</title><link>http://forums.iis.net/p/1146968/1859236.aspx#1859236</link><pubDate>Wed, 14 Nov 2007 22:35:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1859236</guid><dc:creator>sdeliasr</dc:creator><cs:applicationKey>troubleshooting--1</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m trying to use SSI and
am finding that the include statement is being treated as a comment.&amp;nbsp; I
can see it in &amp;quot;View Source&amp;quot; intact, the same as in the source file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve tried this under WinXP Pro and Windows Server 2003.&amp;nbsp; Under the
latter, I went into &amp;quot;Web Service Extensions&amp;quot; and allowed SSI.&lt;/p&gt;
&lt;p&gt;Inside IIS, the virtual directory is taking the defaults that shows that the .shtml file extension points to the ssinc.dll&lt;/p&gt;
&lt;p&gt;I know that this works with ASP pages, but I need to get it to work with an .html file as the &amp;quot;parent&amp;quot; page that is including a .shtml file.&lt;/p&gt;
&lt;p&gt;I can send/show the sample code I&amp;#39;m using if that would help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ve been googling and searching this issue like crazy and still haven&amp;#39;t found anything close to explaining this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Steve Delia&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>