Hi all,
How to rewrite URLs like www.website.com/username to .aspx page.
When ever a user requests for www.website.com/username I have to first parse the URL get the UserName part of the URL ,authenticate ( database authentication and UserName is unique for each user)and fill the current contexts profile with this users info if authenticated and finally redirect to landing page of the site.
I researched and found that this can be done by httpURLRewriter module.
Can someone pls provide sample code and also let me know if any changes have to be done at IIS level.
Thanks,
Shilpa

[otp] How to rewrite URLs like www.website.com/username to .aspx page
echozhang
Hi,
The right forum for this question would be http://forums.asp.net
For your answer:
Please refer the following links having articles with source and examples,
http://msdn2.microsoft.com/en-us/library/ms972974.aspx
http://www.15seconds.com/issue/030522.htm
http://httphandler.codebetter.com/blogs/jeffrey.palermo/archive/2005/08/10/130532.aspx
http://www.codeproject.com/aspnet/URLRewriter.asp
http://www.theukwebdesigncompany.com/articles/search-engine-friendly-urls-asp.php
http://www.improve.dk/blog/2006/12/11/making-url-rewriting-on-iis7-work-like-iis6
HTH,