Windows login URL not working for separate site collection
-
11-10-2020 - |
문제
I have a web application with multiple site collection. I have enabled form based authentication with custom login page. For windows authentication user I have a button on this page which opens up default authentication login pop up. below is URL which I used:
http://abcuniversity/_windows/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F%255Fwindows%252Fdefault%252Easpx&Source=%2F_windows%2Fdefault.aspx
But this URL is working for only root site collection. It is not working with /sites/college1
path site collection. It throws HTTP 404 error.
http://abcuniversity/sites/college1/_windows/default.aspx?ReturnUrl=%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252F%255Fwindows%252Fdefault%252Easpx&Source=%2F_windows%2Fdefault.aspx
Is there any way to do this?
해결책 2
I got this working with below URL:
http://abcuniversity/_login/default.aspx?ReturnUrl=%2fsites%2fcollege1%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252Fsites%252Fcollege1&Source=%2Fsites%2Fcollege1
It still uses root site URL as login but uses separate site collection URL to redirect once User is authenticated.
다른 팁
Try to configure the managed path of this web application by following the mentioned steps below :
- in Central Administration > Application Management > manage Web Application > Select your application > from the above ribbon > select Managed path > Make Sure the WildCard Inclusion for
sites
have been added if not try to add it.
제휴하지 않습니다 sharepoint.stackexchange