请问!!!论坛里有两级验证,一个是普通用户登陆,还有一个是管理员后台登陆
普通用户在根目录,管理员后台登陆在:根目录/Manage,请问如果配置web.config??
普通用户登陆地址:根目录/login.aspx,管理员登陆地址:根目录/Manage/Login.aspx
我这样配置有错误啊!!!
    <authentication mode="Forms">
      <forms name="ChrisLiu_Forms" loginUrl="Login.aspx" protection="All" timeout="30" path="/" />
    </authentication>
    <authorization>
      <allow users="*" />
    </authorization>  <location path="Manage">
    <system.web>
      <authentication mode="Forms">
        <forms name="ChrisLiu_Manage" loginUrl="Login.aspx" protection="All" timeout="30" path="/Manage/" />
      </authentication>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>