本文介绍了在webconfiq中设置默认网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
先生,
如何在网络配置中设置默认网址.如果我将一个浏览器的urllink复制到另一个浏览器.
我的编码...
sir,
how to set default url in web confiq. if i copy the urllink one browser to another browser.
My coding ...
<authentication mode="Forms">
<forms loginUrl="~/Admin/Login.aspx" defaultUrl="Index.aspx" cookieless="UseCookies"/>
</authentication>
但它不起作用.
but it is not working.
推荐答案
<system.webServer>
<defaultDocument>
<files>
<remove value="default.aspx"/>
<remove value="Default.htm"/>
<add value="Index.aspx"/>
</files>
</defaultDocument>
</system.webServer>
这篇关于在webconfiq中设置默认网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!