开发者

display default path in address bar

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜