I am trying to set a loginPage value on a Sitecore site in the web.config. The file referenced in the loginPage is an Sitecore item, so it is not a psycical page on the server. No matter how i reference to it, it doesnot work. I get one of 2 errors (depending on how i refrecen to the file);
The resource cannot be found. Error executing child request for /sitecore/login. (The path beeing the one i referenced in the web.config)
Any ideas?
In Sitecore Rocks, expand the core database and go to: /sitecore/shell/client/Applications/FormsBuilder/Layouts/Actions . Click Add, and click New item. In the Add New Item dialog box, search for and click the Speak-BasePage template, enter the name: LoginUser.
To log in to the Sitecore Experience Platform: In a browser, enter the name of your website followed by /sitecore in the address field. For example, http://www.mywebsite.net/sitecore. On the login page, enter your user name and password, and click Log in.
The Sitecore Launchpad is the central location for accessing all Sitecore functionality. You access the Launchpad by clicking the icon in the top left of the application window.
The explanatory comment in web.config says that 'loginPage' attribute should be The path to the login page to use. Must point to a physical file or a page in a site that does NOT require login.
'Require login' means denied Read permissions for the Anonymous user. This Anonymous user is the one in the domain specified for this site.
For instance, if you want to have login page set for the 'website' site, you should make sure that extranet\Anonymous has read permission to the item you specified.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With