<?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 'include'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=include&amp;orTags=0</link><description>Search results matching tag 'include'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>PHP Pulling SSI's from wrong domain?</title><link>http://forums.iis.net/p/1158140/1905715.aspx#1905715</link><pubDate>Wed, 03 Jun 2009 23:25:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1905715</guid><dc:creator>fugazithehaxoar</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;&lt;strong&gt;Setup:&lt;/strong&gt;&amp;nbsp; PHP&amp;nbsp;5.2.9-2 running on Microsoft-IIS/6.0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem:&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Today one of the sites on my virtual dedicated server starting pulling SSI&amp;#39;s from a different site/domain that is on the same server. The problem is not consistent and is happening on and off. My hosting company is stumped. Both sites are written in php and the code looks like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;?php include(&amp;quot;inc/header.htm&amp;quot;); ?&amp;gt;&lt;/p&gt;
&lt;p&gt;I am not using the &amp;lt;?php virtual(); ?&amp;gt; method nor the &amp;lt;!--#include=&amp;quot;&amp;quot;--&amp;gt;&amp;nbsp;styles&amp;nbsp;on any of these. Here is the physical path of the site as it is on the server (astericed terms&amp;nbsp;have been added for privacy):&lt;/p&gt;
&lt;p&gt;D:\Inetpub\wwwroot\sites\*our_account*\*DOMAIN*.COM\wwwroot\&lt;/p&gt;
&lt;p&gt;What the two sites have in common (aside from being on the same server) is that the SSI&amp;#39;s are named exactly the same and are both in a folder named &amp;quot;inc&amp;quot;. So as a band-aid fix I have concluded that&amp;nbsp;I could&amp;nbsp;probably rename everything on one of these sites and the problem would stop. However, there should be a way to actually fix this if I could figure out what&amp;#39;s wrong. Any suggestions?&lt;/p&gt;</description></item><item><title>PowerShell to include file?</title><link>http://forums.iis.net/p/1157422/1902862.aspx#1902862</link><pubDate>Wed, 06 May 2009 06:54:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902862</guid><dc:creator>teenne</dc:creator><cs:applicationKey>iis_70__-_powershell_provider-41</cs:applicationKey><description>&lt;p&gt;I am new to PowerShell and have a problem that I think PowerShell can solve for me, but I do not know how to start. &lt;/p&gt;
&lt;p&gt;What I want is to use PowerShell to do exactly what the &amp;lt;--#include file src=””&amp;gt; does. &lt;/p&gt;
&lt;p&gt;The ”include file” does not work in SharePoint and I want to re-use some HTML-code in multiple sites to save time. &lt;/p&gt;
&lt;p&gt;In other words: I want PowerShell to read a file and print the output to a webpage. Dows anyone have a tips for me how I can do this? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Error parsing rewrite rules in configSource file - why?</title><link>http://forums.iis.net/p/1155260/1893411.aspx#1893411</link><pubDate>Sat, 14 Feb 2009 10:09:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1893411</guid><dc:creator>DarkMaster</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;I have learned from experience that including the rewriteMaps from other then root of the site does not work - I tried also as you to&amp;nbsp;include the rewriteMap from a folder(for better manageability) but that was a no-go. Do it from the site&amp;#39;s root...&lt;/p&gt;</description></item><item><title>Re: Maximum number of rewrite rules</title><link>http://forums.iis.net/p/1150604/1888358.aspx#1888358</link><pubDate>Thu, 25 Dec 2008 13:47:52 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1888358</guid><dc:creator>DarkMaster</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;I am more then sorry to bump such an old thread but since from here most of my questions are based upon, I did not want to star a new thread. So here is my question for proper including external rewrite map config.&lt;/p&gt;
&lt;p&gt;I have my CMS setup so, that upon creation of new article, it automatically ads new rewrite and redirect entry. Now for better layout I wish to have those entries in a separate file as also &lt;strong&gt;ruslany&lt;/strong&gt; suggested. Now I have added rewrite map configsource in web.config and created corresponding file, added my rewrite map entries but now all I get is an mis-configured/bad-formed XML file.&lt;/p&gt;
&lt;p&gt;I would like to have clarification on this property - I mean I know how to include other config files - I use separate config file to include connection string - that one works just fine. I just can not get this one working properly. Or perhaps there is some other misconfiguration for this that I am missing.&lt;/p&gt;
&lt;p&gt;Here are my settings:&lt;/p&gt;
&lt;p&gt;In web.config file I have this:&lt;/p&gt;
&lt;p&gt;&amp;lt;system.webServer&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;rewrite&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;reqriteMaps configsource=&amp;quot;articlemap.config&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;rules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;some_rewrite_rules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/rules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/rewrite&amp;gt;&lt;br /&gt;&amp;lt;/system.webServer&amp;gt;&lt;/p&gt;
&lt;p&gt;...and in articlemap.config I have:&lt;/p&gt;
&lt;p&gt;&amp;lt;rewriteMaps&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;rewriteMap name=&amp;quot;redirmap&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;add_some_key&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/rewriteMap&amp;gt;&lt;br /&gt;&amp;lt;/rewriteMaps&amp;gt;&lt;/p&gt;
&lt;p&gt;So what am I missing? Is this a problem of referencing for rewrite map name or some other semantical issue? Help?&lt;/p&gt;</description></item></channel></rss>