This our current situation
1 main-site foo.org and 2 subsites foo.org/FR and foo.org/EN (French and English) When you'll browse to foo.org, you're redirected directly to foo.org/FR/default.aspx And this is the moment where we're facing the following problem:
- SharePoint keeps asking for credentials for the administrator. (while using http://foo.org)
- When I add www it just logs me in as an Administrator. (http://www.foo.org)
-> This may be caused by the domain controller (which is outsourced here at work, and they're not willing to change permissions/settings)
-> adding the website to the trusted websites isn't a solution either
-> changing logon activities to a custom level also didn't work.
When I navigate to 'http://foo.org/FR/shared pages/foopage.aspx', SP asks for credentials. When I navigate to 'http://www.foo.org/FR/shared pages/foopage.aspx', SP just logs me in as an administrator, which is bad of course.
If I navigate towards to the http://foo.org/EN it redirects me to the /EN/default.aspx without asking for credentials, AND not logged in as an administrator (just as a visitor).
The problem is situated in the /FR subsite I think. When I check the masterpages of /EN and /FR, the only difference is at the point where you're able to set up the visibility of 'view all site content': (see PermissionString)
FR/master.page
<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ViewPageForms">
<div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent%>" AccessKey="<%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
</SharePoint:SPSecurityTrimmedControl>
EN/master.page
<Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="ManageLists">
<div class="ms-quicklaunchheader"><SharePoint:SPLinkButton id="idNavLinkViewAll" runat="server" NavigateUrl="~site/_layouts/viewlsts.aspx"Text="%$Resources:wss,quiklnch_allcontent%>" AccessKey="%$Resources:wss,quiklnch_allcontent_AK%>"/></div>
</SharePoint:SPSecurityTrimmedControl>
When using Fiddler, it says it needs authentication at the point where the /FR/Default.aspx is loaded. The only difference between the /EN/Default.aspx and /FR/Default.aspx is:
FR/Default.aspx
<META NAME=”ROBOTS” CONTENT=”NOHTMLINDEX”/>
<link rel=”stylesheet” type=”text/css” href=”/FR/_styles/core.css”/>
EN/Default.aspx
<link rel=”stylesheet” type=”text/css” href=”/_layouts/1036/styles/core.css?rev=qaEkY9lls4D7o5XsuDYM1g%3D%3D”/>