Root 302 redirect

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.
9/20/2018 12:11:54 AM
ABM
Gravatar
Total Posts 34

Root 302 redirect

When I browse to my site with the root url ie http://{mysite}/, it always redirects to the login page with a 302. It doesn't happen on my development machine; only with a new mojo portal 2.6 install on a VPS at GoDaddy. I confirmed the 302 using multiple browser dev tools and Fiddler. I'm not a newbie. No 301 redirects, no IIS URL rewrites. Mojo system log did point to a 404 due to a missing favicon.ico. I did find and fix what I thought was a bad custom 404 error page (/404notfound.aspx) in web.config but the same setting is local and it works fine. I was also able to recreate it with the 1st site with sample data after a fresh install so it rules out any custom pages and skins. Browsing to http://{mysite}/home and http://{mysite}/default.aspx work fine. BTW, my site is currently setup as a subdomain and I'm using host names for multiple sites but like I said, it's happening for both the sample and my site. I'm grabbing at straws here. Anyone have any ideas? Thanks in advance.

9/27/2018 11:19:25 AM
Gravatar
Total Posts 2183

Re: Root 302 redirect

Hi,

This is typically an issue with the Anonymous Authentication configuration on the site. Open IIS Manager, go to the site and open the "Authentication" item under the IIS section. Click on the "Anonymous Authentication" item and then click the Edit link under Actions on the right. Set the identity to Application pool identity. If you don't want to use Application pool identity, ensure the user listed under Specific user is on the ACL for the website directory, with read permissions.

Thanks,
Joe

12/20/2018 9:10:41 PM
ABM
Gravatar
Total Posts 34

Re: Root 302 redirect

Joe, it seems I never replied to you. Your reply was right on the money. Furthermore, I hit this a second time today and your reply helped me get my clients' sites back up. With the hopes of helping someone else (or me if it happens again), I'm guessing this is a server patch applied by GoDaddy resulted in the site user for anonymous authentication was reverted back to IUSR resulting in all users visiting the home page via the root url redirected to the login page. Again, thanks for the help! 

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