开发者

display default path in address bar

开发者 https://www.devze.com 2023-02-12 07:16 出处:网络
I want to route these 3 paths to defa开发者_开发百科ult path. www.mysite.com/page1.aspx www.mysite.com/page2.aspx

I want to route these 3 paths to defa开发者_开发百科ult path.

www.mysite.com/page1.aspx
www.mysite.com/page2.aspx
www.mysite.com/page3.aspx

I want to appear these 3 pages in address bar like this: www.mysite.com

There are only these 3 pages in my asp.net project.

How can I do this in asp.net 3.5 with IIS 6.0.


You can use a URL rewriting module or write a custom httphandler as demonstrated here:

http://bit.ly/fkBNlA

URL Rewriters:

http://www.iis.net/download/urlrewrite
http://urlrewriter.net/

0

精彩评论

暂无评论...
验证码 换一张
取 消