<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.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/"><channel><title>HttpHandlers and HttpModules</title><link>http://forums.asp.net/27.aspx</link><description>Extending the ASP.NET Framework through HttpModules and HttpHandlers.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3266154.aspx</link><pubDate>Tue, 30 Jun 2009 09:50:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266154</guid><dc:creator>mihir.mone</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266154.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3266154</wfw:commentRss><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;If you are not getting 404 error, then certainly you need to look into the code.&lt;/p&gt;
&lt;p&gt;May be &amp;#39;Url segment count is wrong&amp;#39;, this is common&amp;nbsp;coding issue&amp;nbsp;regarding Url Rewriting.&lt;/p&gt;
&lt;p&gt;It occurs mostly after deployment, it is caused by Url string.&lt;/p&gt;
&lt;p&gt;Hope this will help you.&lt;/p&gt;</description></item><item><title>Re: URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3261420.aspx</link><pubDate>Sat, 27 Jun 2009 06:08:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3261420</guid><dc:creator>himraval@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3261420.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3261420</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Hello,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the link its very informative. Sorry for responding so late.&lt;/p&gt;
&lt;p&gt;But still i couldn&amp;#39;t get to cause that why would the code not work if&amp;nbsp;its a&amp;nbsp;website in root and&amp;nbsp;works fine if its a virtual directory. Well I had&amp;nbsp;the &amp;nbsp;wildcard mapping in IIS&amp;nbsp;done for both the cases.&lt;/p&gt;
&lt;p&gt;What is the internal structure thats making the difference in the implementation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3243012.aspx</link><pubDate>Thu, 18 Jun 2009 16:38:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3243012</guid><dc:creator>rtpHarry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3243012.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3243012</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;heh, I have had your blog open in all day today Christ for a bit of on again off again reading while I was coding!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I was in a bit of a rush earlier but the two links I usually give out are (got them tagged in my delicious):&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Your link and&lt;/li&gt;&lt;li&gt;&lt;a href="http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/"&gt;http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Re: URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3242360.aspx</link><pubDate>Thu, 18 Jun 2009 12:04:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242360</guid><dc:creator>docluv</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242360.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3242360</wfw:commentRss><description>&lt;p&gt;I think Harry is right. When you are using the web.dev server all requests are routed through the asp.net engine. This is not the case in IIS, you have to explicitly map each extension type to the correct filter or setup wildcard mapping, where all requests are routed through IIS. I wrote a Blog a while back on how to do this:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx"&gt;http://professionalaspnet.com/archive/2007/07/27/Configure-IIS-for-Wildcard-Extensions-in-ASP.NET.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3242346.aspx</link><pubDate>Thu, 18 Jun 2009 12:00:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242346</guid><dc:creator>rtpHarry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242346.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3242346</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Is it a 404 error?&lt;/p&gt;&lt;p&gt;You might have to setup wildcard mapping on IIS? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>URL Rewriting Problem when deployed as root website</title><link>http://forums.asp.net/thread/3242210.aspx</link><pubDate>Thu, 18 Jun 2009 10:33:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3242210</guid><dc:creator>himraval@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3242210.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3242210</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have an application that has URL rewritting module used in it. When i configure the application as a virtual directory the application works as expected but as soon as i configure it as a website in IIS the URL rewriting starts throwing error.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;My rule looks something like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;rule source=&amp;quot;Menu/(\w+)&amp;quot; destination=&amp;quot;Menu\.aspx?category=$2&amp;quot;/&amp;gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>