<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Wildcard script mapping and IIS 7 integrated pipeline</title>
	<atom:link href="http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Sat, 12 May 2012 03:15:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-10880</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Tue, 19 Apr 2011 06:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-10880</guid>
		<description>Hi Praveen, it&#039;s hard to say what is causing this without seeing the actual rewrite rule. I would suggest as a first step to enable &lt;a href=&quot;http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/&quot; rel=&quot;nofollow&quot;&gt;IIS Failed Request Tracing&lt;/a&gt; and then check how the rules were applied.</description>
		<content:encoded><![CDATA[<p>Hi Praveen, it&#8217;s hard to say what is causing this without seeing the actual rewrite rule. I would suggest as a first step to enable <a href="http://learn.iis.net/page.aspx/467/using-failed-request-tracing-to-trace-rewrite-rules/" rel="nofollow">IIS Failed Request Tracing</a> and then check how the rules were applied.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Praveen</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-10874</link>
		<dc:creator>Praveen</dc:creator>
		<pubDate>Mon, 18 Apr 2011 12:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-10874</guid>
		<description>Your article is good.
I am new to IIS 7 url rewriting module. I followed the steps to write rules and store in Sql server it worked fine. i followed

http://learn.iis.net/page.aspx/803/using-custom-rewrite-providers-with-url-rewrite-module/

I am able to get &quot;http://localhost:9090/Home/Default.aspx&quot; when i request IIS 7 for &quot;http://localhost:9090/Home/Default&quot; but all other links (say &quot;http://localhost:9090/point) will be shown as &quot;http://localhost:9090/Home/point&quot; . it tales the relative path with respect to the current URL in address bar.

may be i am missing something obvious here.
Please help.

Thanks,</description>
		<content:encoded><![CDATA[<p>Your article is good.<br />
I am new to IIS 7 url rewriting module. I followed the steps to write rules and store in Sql server it worked fine. i followed</p>
<p><a href="http://learn.iis.net/page.aspx/803/using-custom-rewrite-providers-with-url-rewrite-module/" rel="nofollow">http://learn.iis.net/page.aspx/803/using-custom-rewrite-providers-with-url-rewrite-module/</a></p>
<p>I am able to get &#8220;http://localhost:9090/Home/Default.aspx&#8221; when i request IIS 7 for &#8220;http://localhost:9090/Home/Default&#8221; but all other links (say &#8220;http://localhost:9090/point) will be shown as &#8220;http://localhost:9090/Home/point&#8221; . it tales the relative path with respect to the current URL in address bar.</p>
<p>may be i am missing something obvious here.<br />
Please help.</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Hewett</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-10840</link>
		<dc:creator>Jerry Hewett</dc:creator>
		<pubDate>Mon, 04 Apr 2011 18:23:25 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-10840</guid>
		<description>This article is just like every other article on the net dealing with IIS 7.x and IHttpModule -- all of them claim to work for static content, and none of them do.

If anyone out there has a real, working solution for this problem I&#039;d sure like to hear about it.

And please, do NOT post Yet Another Link to another useless and dead wrong &quot;article&quot; claiming that something like the steps above will work, because none of them do.  I&#039;d like a real, functioning, complete end-to-end project file that shows me EVERYTHING involved in getting IHttpModule to intercept EVERY MIME type there is, and not just the HTML from an ASPX file.

The MSDN documentation is also completely worthless when it comes to this.  The same dead wrong examples, and the same generic blather and hand-waving about &quot;just include  in web.config&quot;.

Thing is, I really REALLY need to figure out how to get this working.  I need to be able to intercept *ALL* text-type content (HTML, CSS, etc.) on the way back to the client so that I can rewrite parts of the content (to remap content for a CDN, not something scammy like spam).

Is there a WORKING alternative to using IHttpModule?  I&#039;d prefer to use a Filter if I can, because I&#039;ve already written something exactly like what I want using Java for Apache/Tomcat and would like to just port my existing code.

Any CORRECT and REAL help with this would be appreciated.

Jerry H.</description>
		<content:encoded><![CDATA[<p>This article is just like every other article on the net dealing with IIS 7.x and IHttpModule &#8212; all of them claim to work for static content, and none of them do.</p>
<p>If anyone out there has a real, working solution for this problem I&#8217;d sure like to hear about it.</p>
<p>And please, do NOT post Yet Another Link to another useless and dead wrong &#8220;article&#8221; claiming that something like the steps above will work, because none of them do.  I&#8217;d like a real, functioning, complete end-to-end project file that shows me EVERYTHING involved in getting IHttpModule to intercept EVERY MIME type there is, and not just the HTML from an ASPX file.</p>
<p>The MSDN documentation is also completely worthless when it comes to this.  The same dead wrong examples, and the same generic blather and hand-waving about &#8220;just include  in web.config&#8221;.</p>
<p>Thing is, I really REALLY need to figure out how to get this working.  I need to be able to intercept *ALL* text-type content (HTML, CSS, etc.) on the way back to the client so that I can rewrite parts of the content (to remap content for a CDN, not something scammy like spam).</p>
<p>Is there a WORKING alternative to using IHttpModule?  I&#8217;d prefer to use a Filter if I can, because I&#8217;ve already written something exactly like what I want using Java for Apache/Tomcat and would like to just port my existing code.</p>
<p>Any CORRECT and REAL help with this would be appreciated.</p>
<p>Jerry H.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IndSoft</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-10783</link>
		<dc:creator>IndSoft</dc:creator>
		<pubDate>Wed, 16 Mar 2011 08:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-10783</guid>
		<description>Hi, 

My case i have separate class for handle URL-Rewrite which is inside App_Code, i did the necessary changes in my web.config, but still i get the following error.


HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled

Note - Im using Integrated Mode.</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>My case i have separate class for handle URL-Rewrite which is inside App_Code, i did the necessary changes in my web.config, but still i get the following error.</p>
<p>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled</p>
<p>Note &#8211; Im using Integrated Mode.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2832</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 25 Nov 2010 15:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2832</guid>
		<description>Thank you very much, that worked great.

Cheers,
Dan</description>
		<content:encoded><![CDATA[<p>Thank you very much, that worked great.</p>
<p>Cheers,<br />
Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2826</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Tue, 23 Nov 2010 20:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2826</guid>
		<description>Hi Dan, It should be possible to use IIS instead of Cassini for debugging in Visual Studio. &lt;a href=&quot;http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-7/&quot; rel=&quot;nofollow&quot;&gt;This article&lt;/a&gt; explains how to do it.</description>
		<content:encoded><![CDATA[<p>Hi Dan, It should be possible to use IIS instead of Cassini for debugging in Visual Studio. <a href="http://learn.iis.net/page.aspx/387/using-visual-studio-2008-with-iis-7/" rel="nofollow">This article</a> explains how to do it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2825</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 23 Nov 2010 19:40:41 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2825</guid>
		<description>I found my problem.  It seems that if you run the debugger it uses the Cassini web server instead of IIS therefore the module never gets hit when using the integrated pipeline method.

I guess if I need to debug my module I&#039;ll have to move it to the system.web section, debug, fix and move back to system.webServer.

Hopefully this helps someone else out there, it was quite frustrating, especially after I just created a simple walk through project and it still wasn&#039;t working.</description>
		<content:encoded><![CDATA[<p>I found my problem.  It seems that if you run the debugger it uses the Cassini web server instead of IIS therefore the module never gets hit when using the integrated pipeline method.</p>
<p>I guess if I need to debug my module I&#8217;ll have to move it to the system.web section, debug, fix and move back to system.webServer.</p>
<p>Hopefully this helps someone else out there, it was quite frustrating, especially after I just created a simple walk through project and it still wasn&#8217;t working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2822</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 23 Nov 2010 14:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2822</guid>
		<description>Sorry, forgot to encode my config file:
&lt;system.webServer&gt;
			&lt;validation validateIntegratedModeConfiguration=&quot;false&quot; /&gt;
		&lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&gt;
			&lt;remove name=&quot;ScriptModule&quot; /&gt;
      &lt;remove name=&quot;MyURLRewriter&quot; /&gt;
      &lt;remove name=&quot;Session&quot;/&gt;
      &lt;add name=&quot;MyURLRewriter&quot; type=&quot;URLRewriter.ModuleRewriter, URLRewriter&quot; preCondition=&quot;ManagedHandler&quot; /&gt;
      &lt;add name=&quot;ScriptModule&quot; preCondition=&quot;managedHandler&quot; type=&quot;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;
      &lt;add name=&quot;Session&quot; type=&quot;System.Web.SessionState.SessionStateModule&quot; preCondition=&quot;&quot;/&gt;
    &lt;/modules&gt;
		&lt;handlers&gt;
			&lt;remove name=&quot;WebServiceHandlerFactory-Integrated&quot; /&gt;
			&lt;remove name=&quot;ScriptHandlerFactory&quot; /&gt;
			&lt;remove name=&quot;ScriptHandlerFactoryAppServices&quot; /&gt;
			&lt;remove name=&quot;ScriptResource&quot; /&gt;
      
			&lt;add name=&quot;ScriptHandlerFactory&quot; verb=&quot;*&quot; path=&quot;*.asmx&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;
			&lt;add name=&quot;ScriptHandlerFactoryAppServices&quot; verb=&quot;*&quot; path=&quot;*_AppService.axd&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;
			&lt;add name=&quot;ScriptResource&quot; verb=&quot;GET,HEAD&quot; path=&quot;ScriptResource.axd&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;
      &lt;!--&lt;add name=&quot;URLRewriter&quot; type=&quot;URLRewriter.RewriterFactoryHandler, URLRewriter&quot; preCondition=&quot;&quot;/&gt;--&gt;
    &lt;/handlers&gt;
  &lt;/system.webServer&gt;</description>
		<content:encoded><![CDATA[<p>Sorry, forgot to encode my config file:<br />
&lt;system.webServer&gt;<br />
			&lt;validation validateIntegratedModeConfiguration=&quot;false&quot; /&gt;<br />
		&lt;modules runAllManagedModulesForAllRequests=&quot;true&quot;&gt;<br />
			&lt;remove name=&quot;ScriptModule&quot; /&gt;<br />
      &lt;remove name=&quot;MyURLRewriter&quot; /&gt;<br />
      &lt;remove name=&quot;Session&quot;/&gt;<br />
      &lt;add name=&quot;MyURLRewriter&quot; type=&quot;URLRewriter.ModuleRewriter, URLRewriter&quot; preCondition=&quot;ManagedHandler&quot; /&gt;<br />
      &lt;add name=&quot;ScriptModule&quot; preCondition=&quot;managedHandler&quot; type=&quot;System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;<br />
      &lt;add name=&quot;Session&quot; type=&quot;System.Web.SessionState.SessionStateModule&quot; preCondition=&quot;&quot;/&gt;<br />
    &lt;/modules&gt;<br />
		&lt;handlers&gt;<br />
			&lt;remove name=&quot;WebServiceHandlerFactory-Integrated&quot; /&gt;<br />
			&lt;remove name=&quot;ScriptHandlerFactory&quot; /&gt;<br />
			&lt;remove name=&quot;ScriptHandlerFactoryAppServices&quot; /&gt;<br />
			&lt;remove name=&quot;ScriptResource&quot; /&gt;</p>
<p>			&lt;add name=&quot;ScriptHandlerFactory&quot; verb=&quot;*&quot; path=&quot;*.asmx&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;<br />
			&lt;add name=&quot;ScriptHandlerFactoryAppServices&quot; verb=&quot;*&quot; path=&quot;*_AppService.axd&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;<br />
			&lt;add name=&quot;ScriptResource&quot; verb=&quot;GET,HEAD&quot; path=&quot;ScriptResource.axd&quot; preCondition=&quot;integratedMode&quot; type=&quot;System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&quot; /&gt;<br />
      &lt;!&#8211;&lt;add name=&quot;URLRewriter&quot; type=&quot;URLRewriter.RewriterFactoryHandler, URLRewriter&quot; preCondition=&quot;&quot;/&gt;&#8211;&gt;<br />
    &lt;/handlers&gt;<br />
  &lt;/system.webServer&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2821</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 23 Nov 2010 14:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2821</guid>
		<description>Sorry for commented on such an old post but it seems to be exactly what I&#039;m looking for.

Currently I&#039;m just trying to get a test site up and running, this site has a module written as well as a handler.  I was able to get the handler running in the  section which means it only handled .aspx requests.  I then enabled the module and moved it to the  section but I can&#039;t seem to get it to work.  It appears to not intercept at all, if I punch in the http://url/products/ I get the default page in that folder, if I try http://url/products/beverages.aspx I get a 404 error.

I&#039;ve tried enabling the module, the handler. I&#039;ve tried adding the &quot;runAllManagedModulesForAllRequests&quot; flag.  I tried adding in the session module.  I&#039;ve reordered the modules.

Here is my current web.config web server section (sorry if it comes out a mess):


Any help would be appreciated :-)</description>
		<content:encoded><![CDATA[<p>Sorry for commented on such an old post but it seems to be exactly what I&#8217;m looking for.</p>
<p>Currently I&#8217;m just trying to get a test site up and running, this site has a module written as well as a handler.  I was able to get the handler running in the  section which means it only handled .aspx requests.  I then enabled the module and moved it to the  section but I can&#8217;t seem to get it to work.  It appears to not intercept at all, if I punch in the <a href="http://url/products/" rel="nofollow">http://url/products/</a> I get the default page in that folder, if I try <a href="http://url/products/beverages.aspx" rel="nofollow">http://url/products/beverages.aspx</a> I get a 404 error.</p>
<p>I&#8217;ve tried enabling the module, the handler. I&#8217;ve tried adding the &#8220;runAllManagedModulesForAllRequests&#8221; flag.  I tried adding in the session module.  I&#8217;ve reordered the modules.</p>
<p>Here is my current web.config web server section (sorry if it comes out a mess):</p>
<p>Any help would be appreciated <img src='http://ruslany.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Nascente</title>
		<link>http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/comment-page-1/#comment-2758</link>
		<dc:creator>Ricardo Nascente</dc:creator>
		<pubDate>Thu, 04 Nov 2010 19:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/09/wildcard-script-mapping-and-iis-7-integrated-pipeline/#comment-2758</guid>
		<description>As &lt;b&gt;Aneesh&lt;/b&gt; said, you need to use &quot;DefaultAppPool&quot; at &quot;Basic Settings&quot; &quot;Actions Menu&quot;.

Thank you for that great article, it helped me A LOT.</description>
		<content:encoded><![CDATA[<p>As <b>Aneesh</b> said, you need to use &#8220;DefaultAppPool&#8221; at &#8220;Basic Settings&#8221; &#8220;Actions Menu&#8221;.</p>
<p>Thank you for that great article, it helped me A LOT.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

