문제

FBA가 구성된 웹 응용 프로그램이 있으며 AAM을 설정했습니다. 내부 사용자 / 영역 (http://xyz.com) 및 외부 사용자 / 영역 용 하나 (https://xyz.com)

웹 응용 프로그램을 확장하여 익명 액세스가 활성화 된 SSL & 사용자 정의 로그인 페이지를 사용하도록합니다 (사용자는 사용자 정의 로그인 페이지로 이동하는 것입니다).

AAM 지정된 URL의 AAM을 모두 탐색 할 수 있습니다.

그러나 https://xyz.com 를 탐색하면 사용자 정의 로그인 페이지가 표시되지 않습니다. "인증 된 사용자 없음"을 표시하는 일반 페이지 (사용자 정의 솔루션) 만 표시합니다. 더 중요한 것은 https://xyz.com에 입력 할 때 로그인 페이지에 도달 할 수 있습니다. /_layouts/customlogin.aspx

거기에서 모두 좋은 것입니다.

외부 영역 사용자의 익명 액세스를 제거 할 때 로그인 페이지로 이동할 수 있지만 가입에 대한 탐색 또는 액세스를 탐색하거나 거부 할 수 없음을 탐색하고 패스워드 페이지를 잊어 버린다. 로그인 페이지의 링크.

사용자가 href="https://xyz.com" relins.nofollow"> https://xyz.com 를 찾아 보면이 URL을 수정하려면 어떻게해야합니까? 로그인 화면이 있으며 암호 분실에 액세스하고 해당 링크를 클릭하면 페이지 가입을 가입합니까 ??

감사합니다

도움이 되었습니까?

해결책

You should remove anonymous access on the web application's Extranet zone, and allow access to the login page in your web.config file. With anonymous access enabled there is no validated authentication required so it would make sense that your login page would not be displayed (the user is already authenticated as anonymous).

In your web.config try something like:

<location path="_layouts/MyLogin.aspx">
  <system.web>
    <authorization>
      <allow users="*"/>
    </authorization>
  </system.web>
</location>

This will grant authorization (not authentication) to anonymous users accessing the site. Also, this doesn't open up the rest of the site to anonymous users, as opposed to enabling anonymous authentication in Central Administration.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top