首页 新闻 会员 周边

mvc里location的path属性如何配置为student/index

0
悬赏园豆:10 [已关闭问题] 关闭于 2016-03-03 16:59

mvc的项目

forms认证配置如下:

<authentication mode="Forms">
<forms loginUrl="~/LoginCenter" timeout="2880" />
</authentication>
<authorization>
<deny users="?"/>
</authorization>

有个页面地址是 http://localhost/student/index想让所有用户访问

请问配置里面的xxxxx应该怎么写?

<location path="xxxxx">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>

来打我啊的主页 来打我啊 | 初学一级 | 园豆:182
提问于:2016-03-03 16:51
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册