I purchased the subdomain package so that *.mysite.com goes to the root application. Currenly when in type in sub1.mysite.com I have it set up to redirect to the /sub1/ directory which is where the sub1 site application starts. So after the redirection happens, the URL in the browser is sub1.mysite.com/sub1/ kind of redundant isn't it. What I would like to happen is to only have sub1.mysite.com show up in the URL browser. How can this be done? Thanks
Can't really be done easily. It's possible though. You can programatically capture every page request and perform a Server.Transferor Server.Execute. http://www.willasrari.com/blog/application-beginrequest-code-in-globalasax-for-url-rewriting/00043.aspx Joel Thoms DiscountASP.NET http://www.DiscountASP.NET
Actually, search for thundermains URL rewrite. It might not handle it out of the box, but with some mods, you might be able to achieve your goal. Joel Thoms DiscountASP.NET http://www.DiscountASP.NET
okay thanks.. I'll look into url rewriting then. I did find this article that has some options for handling this. http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx