简体   繁体   English

IIS默认文档重写URL

[英]IIS Default document rewrites URL

I configure the default document of site http://www.modapik.com as index.aspx in both IIS and web.config. 我在IIS和web.config中都将站点http://www.modapik.com的默认文档配置为index.aspx。 But when i hit the URL, the browser opens http://www.modapik.com/index.aspx which I totally don' want. 但是当我点击URL时,浏览器会打开我完全不想要的http://www.modapik.com/index.aspx How can I configure IIS to open only http://www.modapik.com 如何将IIS配置为仅打开http://www.modapik.com

Thanks alot 非常感谢

您必须为此使用URL重写功能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM