Implement Rewrite Module to have ApplicationName with querystring

Posted by Tamer Ibrahim on Stack Overflow See other posts from Stack Overflow or by Tamer Ibrahim
Published on 2010-03-29T06:12:20Z Indexed on 2010/03/29 6:33 UTC
Read the original article Hit count: 592

Filed under:
|
|

How can i rewrite the URL to have application name + querystring

for example i have a web application with the following querystring

mywebsite/default.aspx?UserName=xyz

How can i have URL with the folllowing

mywebsite?xyz

i have managed to implement RewriteModule using HttpApplication on Begin_request event and currently i can use this query

http://mywebsite/?xyz ,

is there a way to have the url without "/"

© Stack Overflow or respective owner

Related posts about urlrewrite

Related posts about rewrite