日期:2014-05-19  浏览次数:20433 次

web.config 的location
<location   path= "Secure/NewUser.aspx ">
        <system.web>
            <authorization>
                <allow   users= "* "/>
            </authorization>
        </system.web>
    </location>

我想往这里面多加一个所有用户
都可以访问的页面.比方说是new.aspx
应该怎么写...
我原来以为
path= "Secure/NewUser.aspx,new.aspx "
结果不行.哈哈.高手指教.先谢过

------解决方案--------------------
<location path= "Secure/new.aspx ">
<system.web>
<authorization>
<allow users= "* "/>
</authorization>
</system.web>
</location>
------解决方案--------------------
<location path= "Secure/NewUser.aspx ">
<system.web>
<authorization>
<allow users= "* "/>
</authorization>
</system.web>
</location>
<location path= "Secure/new.aspx ">
<system.web>
<authorization>
<allow users= "* "/>
</authorization>
</system.web>
</location>