Homepage redirecting to Login

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/18/2018 11:42:21 AM
Gravatar
Total Posts 5

Homepage redirecting to Login

Hi there

This is such a great CMS. Really love it.

But there is something that I am just not able fix. Tried for 2 weeks now on the latest (new) install with IIS 8.

I saw the post from 2014, where Josh had the exact same problem. But none of the hints work for me:

When not logged in, the root (www.xyz.com) redirects me to the login page. When logged in, the root shows me the "home" without redirecting. Any other page works when not logged in or logged in.

I checked the "allowed view" in page settings, which is fine. I checked in IIS the default.aspx, which is set.

Only if I enter www.xyz.com/Default.aspx, the home is shown. But I need it to be shown for www.xyz.com/ without redirection.


Can anyone help out?

Thanks a lot,
Max

 

 

5/24/2018 5:33:40 PM
Gravatar
Total Posts 2253

Re: Homepage redirecting to Login

Hi Max,

That is odd. Once logged in, go to the Admin Menu and then click the "Advanced Tools" item. Next, click the "Redirect Manager" item. Check for a redirect that is the same as the url for the home page (probably 'home'). If you see one, that's your problem so you should remove it. Just removing it will not fix the problem for anyone who has already used the site because they will have the redirect cached. Go to Administration Menu and select the "Page Manager" item. Select the Home Page and click the "Edit Settings" link. Set the url for the home page to ~/. You don't need an actual url there anyway.

If that doesn't work for you, try this:

Go to IIS and click on the site.

In the settings pane, double-click the Authentication item under IIS. Select "Anonymous Authentication" and click "Edit" on the right. Be sure the Anonymous user identity is set to a user which has read access to your web directory. I don't really think this is the problem because usually this will result in getting redirected to ~/login.aspx, which doesn't exist.

If you can't figure it out, let me know and I'll give you instructions to submit your website login information to us so we can investigate further.

Thanks,
Joe

5/25/2018 7:21:56 AM
Gravatar
Total Posts 5

Re: Homepage redirecting to Login

Hi Joe

Thank you for your proposals. Issue solved.

Just to let everyone know what solved the issue:
1. Redirect Manager: There was no entry to be removed.
2. Setting the url for the homepage to ~/ did not have an effect.
3. Verified in IIS the anonymous authentication. It showed "IUSR", which is actually correct (this works for all other IIS webs). The trick was to switch from "Dedicated user" to "Identity of the pool". Now it is working as expected. Just to mention again, this is IIS 8 on Windows Server 2012.
 

Thanks for your support
Best regards, Max

You must sign in to post in the forums. This thread is closed to new posts.