SSL Duplicate subfolder

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
1/19/2012 7:59:04 AM
Gravatar
Total Posts 76

SSL Duplicate subfolder

I am sure I am over looking something. My new web site url is http://domain/folder. When I turn on SSL in the user.config file and go to https://domain/folder/Secure/Login.aspx it redirects to https://domain/folder/folder/Secure/Login.aspx. I can remove the extra "folder" and the page loads, but when I login, the folder/folder comes back. This does not work on either dev or prodcution.  Any ideas?

Dev Computer:
mojoPortal Version 2.3.7.5 MSSQL
Operating System Microsoft Windows NT 6.1.7600.0
ASP.NET Info v4.0.30319 Running in Full Trust

Production Computer:
mojoPortal Version 2.3.7.5 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 1
ASP.NET Info v4.0.30128 Running in Full Trust

Thanks,

Jonathan Delfraisse

1/19/2012 8:27:34 AM
Gravatar
Total Posts 18439

Re: SSL Duplicate subfolder

Hi Johnathan,

I guess you are running some other app at the root?

You can solve it by adding this in user.config

<add key="IsRunningInRootSite" value="false" />

Hope that helps,

Joe

1/19/2012 8:45:53 AM
Gravatar
Total Posts 76

Re: SSL Duplicate subfolder

In the production enviornment, which I have no direct control over, there are .net version 2 apps running as sub directories.  I could not get those apps to run with mojoportal at the root level even with inheritInChildApplications as false, so we made it a folder.  Your fix did the trick.  Thank you.

1/19/2012 8:52:36 AM
Gravatar
Total Posts 18439

Re: SSL Duplicate subfolder

Hi Johnathan,

Thanks for the beer!

I think you could get it working in the root, but it would require wrapping location elements around both the system.web and the system.webServer sections.

Best,

Joe

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