SSLIsAvailable = true = my url go wrong

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
7/31/2011 8:52:50 PM
Gravatar
Total Posts 15

SSLIsAvailable = true = my url go wrong

Hello,

If i set SSLIsAvailable = true the urls go wrong, if false it works.

I get doubble root names of site in the url strings after logging in and start working with the admin functions.

Has anyone tried this and got the same result?

Using mojoPortal Version 2.3.6.7 MSSQL

Operating System Microsoft Windows NT 6.0.6002 Service Pack 2

ASP.NET Information v4.0.30319 Running in Full Trust 

 

Best regards

Bert

 

8/1/2011 6:08:36 AM
Gravatar
Total Posts 18439

Re: SSLIsAvailable = true = my url go wrong

Is it a public site where I could see the problem? If not please give more detail about the url structure before and after changing to SSLIsAvailable.

Best,

Joe

8/1/2011 6:59:57 AM
Gravatar
Total Posts 15

Re: SSLIsAvailable = true = my url go wrong

Hello Joe,

It's a internal test server so I can not show you on the internet.

What i did was to install latest mojo i the wwwroot on IIS.

After this Terminal Server for Web that exposed TS remote application stopped working, its .net 2.0 app on the same webserver.

Found out that it has something with inheritance of configuration to do, and i could not remove the inheritance

from the mojo web.config by using <local> statment in the configuration files.

So I emptied the webroot, moved mojo down to an app below the root to get out of inheritance problem for TS.

TS started to work and mojo as well in a "cms" directory.

Then I turned on SSLIsAvailable and logged on . After this when i went to the admin functions i got

https://nameoftheserver.testddomain.local/cms/cms/

where it should be only

https://nameoftheserver.testddomain.local/cms/

Best regards

Bert

8/1/2011 7:25:18 AM
Gravatar
Total Posts 18439

Re: SSLIsAvailable = true = my url go wrong

Make sure this is false:

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

it can only be true with a root site.

Rather than move it into a sub  folder to solve the conflict, what I would do is make a new dns A record that points to the same ip address like cms.testdomain.local and then create a new IIS web site and add this host header in the IIS site. Then it can be independent of the other app.

Hope that helps,

Joe

8/1/2011 9:18:05 AM
Gravatar
Total Posts 15

Re: SSLIsAvailable = true = my url go wrong

Regarding the keyUseFoldersInsteadOfHostnamesForMultipleSites, It was set to False when i got the url error after switching SSLIsAvailable = true.

I will try the DNS solution with A records ASAP.

Thank you.

Best regards

Bert

8/1/2011 9:22:40 AM
Gravatar
Total Posts 18439

Re: SSLIsAvailable = true = my url go wrong

If you downloaded version 2.3.6.7 prior to July 20, you might try downloading it agsain and replacve these files:

mojoPortal.Web.dll
mojoPortal.Features.UI.dll
mojoPortal.Net.dll
/ContactForm/MessageListDialog.aspx
/ClientScript/jqmojo/jquery.layout.min.js

there were a few bugs patched after the initial release.

Though I still think root site urls are cleaner in general.

Hope that helps,

Joe

9/15/2011 2:01:38 PM
Gravatar
Total Posts 15

Re: SSLIsAvailable = true = my url go wrong

Hi Joe,

I have this same issue using mojo 2.3.6.4 MSSQL running full trust in .net 4.

SSLIsAvailable is true and UseFoldersInsteadOfHostnamesForMultipleSites is false.

If you hit http://www.churchteams.com/ct/Secure/Login.aspx as I have required SSL for the login it will double the virtual directory and add https like such https://www.churchteams.com/ct/ct/Secure/Login.aspx.  It does that on any mojo ssl requested page.  I have other non mojo pages where SSL is fine and can't find anything like urlrewrite rules that might be causing it.

Let me know your thoughts.

Thanks, Mark

9/15/2011 2:09:16 PM
Gravatar
Total Posts 18439

Re: SSLIsAvailable = true = my url go wrong

I recommend upgrade to the latest version of mojoPortal. I'm pretty sure that bug has been fixed.

Hope that helps,

Joe

10/15/2011 9:55:29 AM
Gravatar
Total Posts 15

Re: SSLIsAvailable = true = my url go wrong

I have upgraded to mojo 2.3.7.0 MSSQL running full trust in .net 4 but still have the same issue.

SSLIsAvailable is true and UseFoldersInsteadOfHostnamesForMultipleSites is false.

If you hit http://www.churchteams.com/ct/Secure/Login.aspx as I have required SSL for the login it will double the virtual directory and add https like such https://www.churchteams.com/ct/ct/Secure/Login.aspx.  It does that on any mojo ssl requested page such as the mojo admin pages after you login as evidently those require SSL also.  Moving the site to the root isn't really an option as I've seen above and for SEO I don't want to change to a sub domain in DNS as is mentioned above.

Any thoughts are appreciated.

Thanks, Mark

10/16/2011 2:22:50 PM
Gravatar
Total Posts 18439

Re: SSLIsAvailable = true = my url go wrong

Hi Mark,

There were a couple of bugs patched after the initial release of version 2.3.7.0 and I think this was one of them. I would download it again and replace the following files:

/bin/mojoPortal.Web.dll
/bin/Recaptcha.dll

Hopefully that will solve it if not let me know.

Best,

Joe

10/16/2011 10:48:21 PM
Gravatar
Total Posts 15

Re: SSLIsAvailable = true = my url go wrong

Thanks and after checking I actually have the latest version of the release (October 10th changes) so let me know if you have any other thoughts.

Thanks, Mark

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