PDA

View Full Version : URL Rewriting (again)


mdselite
06-01-2008, 01:32 AM
Already posted about this (specifically in regards to mapping subdomains to folders) in the help, then here in the suggestions, and in both places basically told if it happens, it wouldn't be for a long time.

Just wanted to point out that there is a CTP available for an official rewrite module available now. Taking that into consideration, it is more possible to get that kind of subdomain mapping feature?
http://blogs.iis.net/bills/archive/2008/05/31/urlrewrite-module-for-iis7.aspx

Also, to reiterate my argument about how the current suggestion in the kb is inappropriate for subdomain->folder mapping, I would like to quote Phil Haack (in dev div at ms now)

http://haacked.com/archive/2008/05/19/updated-routing-with-webforms.aspx said...
One mistake a lot of people make when looking at URL Routing is to think of it as URL Rewriting. The difference is subtle, but important. There is no URL rewriting going on with Routing.

With routing, the page knows it isn't at fakedomain.com/some/fake/url.aspx, and while you can get around that in some cases, in other cases you can't, and in either case it is a huge pain if you are trying to map a subdomain to a folder. Since rewriting happens at the iis level, the page acually thinks it is at fakedomain.com/ since the url is getting rewritten before it even hits asp.

Post Edited (google_ninja) : 6/1/2008 1:40:05 PM GMT

wisemx
06-01-2008, 08:07 AM
Steve also blogged about this and I was going to ask Bruce about it so hopefully he'll see this tomorrow and chime in. http://community.discountasp.net/emoticons/wink.gif
http://weblogs.asp.net/steveschofield/archive/2008/05/30/iis-7-post-68-url-rewrite-module-available.aspx
Salute,
Mark

bruce
06-02-2008, 05:21 AM
Finally MSFT is releasing a rewrite module!!!

We'll play w/ it and most likely supports it once it releases.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

mjp
06-03-2008, 05:23 AM
This is so exciting! It's like whenApache 1.3 was released! ;)

mjp
---
DiscountASP.NET

wisemx
06-03-2008, 09:24 AM
Now that was funny. http://community.discountasp.net/emoticons/tongue.gif



Apache 1.3 said...
Note: "Winsock2" is required for Apache 1.3
Now supports Windows 95 and ME.http://httpd.apache.org/docs/1.3/windows.html

OK, hope I didn't have fun with anyone's pain. http://community.discountasp.net/emoticons/wink.gif

mdselite
06-03-2008, 12:16 PM
Thats exactly what i wanted to hear :D

That is literally my one and only complaint with dasp. Been a great experience so far :)