<?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 - Removing SubFolder Name</title><link>http://forums.asp.net/thread/3268263.aspx</link><pubDate>Wed, 01 Jul 2009 08:17:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3268263</guid><dc:creator>sajid_ali</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3268263.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3268263</wfw:commentRss><description>&lt;p&gt;Following links may help you&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/ms972974.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms972974.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: URL Rewriting - Removing SubFolder Name</title><link>http://forums.asp.net/thread/3268218.aspx</link><pubDate>Wed, 01 Jul 2009 07:52:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3268218</guid><dc:creator>integrasol</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3268218.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3268218</wfw:commentRss><description>&lt;p&gt;Quick question, have you seen this article on URL rewriting, and is this something that is possible for you? &lt;a href="http://msdn.microsoft.com/en-us/library/ms972974.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms972974.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>URL Rewriting - Removing SubFolder Name</title><link>http://forums.asp.net/thread/3267766.aspx</link><pubDate>Wed, 01 Jul 2009 02:21:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3267766</guid><dc:creator>MJB1980</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3267766.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=27&amp;PostID=3267766</wfw:commentRss><description>&lt;p&gt;Hey guys and girls!&lt;/p&gt;&lt;p&gt;As always, thank you in advance for any help that can be offered.&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure what I&amp;#39;m looking to do has been done before (I just haven&amp;#39;t searched for the right keywords yet). I&amp;#39;m contimplating hosting several different websites through my one hosting account. My host requires me to use a Domain Pointer to point any registered domain to my little piece of the server. Then, hardcode a gateway in the root to redirect traffic based upon the request. This is working just fine. The issue I&amp;#39;m having is this.&lt;/p&gt;&lt;p&gt;My primary domain is www.Domain1.com - and all the files for that site are located in a folder off the root called Domain1.&lt;/p&gt;&lt;p&gt;The second domain is www.Domain2.com - and all the files for THAT site are located in a folder off the root called Domain2. (original, no?!)&lt;/p&gt;&lt;p&gt;The redirect is working fine. When someone types in www.domain2.com it takes them to the right folder. The problem (as I see it anyway) is that the URL is displaying as: www.Domain1.com/Domain1/Default.aspx and/or www.Domain2.com/Domain2/Default.aspx&lt;/p&gt;&lt;p&gt;Obviously, the /Domain1 and /Domain2 are the subfolders the redirect is being pointed to.&lt;/p&gt;&lt;p&gt;So what I would like to do is somehow (possible???) remove the subfolder name out of the URL string - ie: www.Domain1.com/Domain1/Default.aspx = www.Domain1.com/Default.aspx&lt;/p&gt;&lt;p&gt;Is this possible? It &amp;#39;sounds&amp;#39; like it&amp;#39;s possible.&lt;/p&gt;&lt;p&gt;Also, even if this is possible, is this opening a larger issue for future development? Are there downsides to hosting multiple applications under one account? Is it more beneficial simply to open new accounts per application? Regardless, I&amp;#39;d like to find out if there is some code (perhaps even a sample) source that could get me in the right direction.&lt;/p&gt;&lt;p&gt;Thanks in advance!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>