09 Dec 2009
18 Apr 2011
Link to this post
We have just created development version of one of our site using Siteifnity 3.7 SP4
Generated URL ~/Home/Home.aspx
Another URL : ~/Default.aspx - It is set be "Default"
Now we set "Anonymous access" to Deny for home page to protect site before it goes live.
Note that in IIS - Default Document : default.aspx is on the top of the list.
Now when we access our site e.g. www.test.com it will redirect to Sitefinity login page that is correct as we have set Anonymous access to deny for home page.
Domain name without - default page - www.test.com
So when you type "www.test.com" in the browser it goes to "http://www.test.com/sitefinity/login.aspx?ReturnUrl=%2f"
Here once we provide correct login details it should go to home page (e.g default.aspx) instead of that it stays on login page itself.
So this is the problem.
We think that here sitefintiy login url should "http://www.test.com/sitefinity/login.aspx?ReturnUrl=%2fdefault.aspx" so that after successful login it should go to home page.
Domain name with - default page - www.test.com/default.aspx
Now if you type "www.test.com/default.aspx" than it goes to "http://www.test.com/sitefinity/login.aspx?ReturnUrl=%2fdefault.aspx"
Here once we provide correct login details it should go to home page (e.g default.aspx) - this is correct.
But we are not able to understand why controls stays on the login page when we access the site with just domin url e.g. (www.test.com)
Note : We do have some other sites with Sitefintiy 3.6 SP1 on the same server and above same functionality works fine. Is it related to Sitefinity 3.7 SP4 issue or is there any IIS settings that we need to check?
Please let us know asap.