SSL 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.
6/6/2011 5:59:11 PM
Gravatar
Total Posts 165

SSL Redirect...

Hey Joe,

Please take a look at:  http://cloudsites.rackspacecloud.com/index.php/How_do_I_force_SSL_on_my_ASP/.NET_site%3F

and tell me the best way to handle this with mojoPortal.

Thanks,

Mark

 

6/7/2011 6:03:41 AM
Gravatar
Total Posts 18439

Re: SSL Redirect...

Hi Mark,

In theory, assuming you have an SSL certificate installed, you can add these to user.config, recycle the app, and then mojoPortal should be able to detect correctly whether a request is secure or not and that should enable mojoPortal to force SSL on pages that require it.

<add key="SSLIsAvailable" value="true" />
<add key="SecureConnectionServerVariableForValueCheck" value="HTTP_CLUSTER_HTTPS" />
<add key="SecureConnectionServerVariableSecureValue" value="on" />

the 2nd and 3rd settings are based on the rackspace article.

This solution was implemented for web farm support of SSL but has not been well tested since we don't yet officially support web farms, so your mileage may vary.

Hope that helps,

Joe

6/7/2011 4:57:59 PM
Gravatar
Total Posts 165

Re: SSL Redirect...

Hey Joe,

Well, I'm not sure what is going on... I added in the three lines as you suggested, the site works until I try and go to the login page and then it says it can't find it.  Also, should the complete site be going to https now with these lines in the user.config?

The reason for all this is I'm trying to make it where we can use authoize.net in the Events Calendar Pro I purchased from you.

Thanks,

Mark

6/8/2011 6:26:09 AM
Gravatar
Total Posts 18439

Re: SSL Redirect...

Hi Mark,

If SSLIsAvailable is set to true it will automatically try to use SSL for pages that should be secure such as login, register, and user profile.

If it says page not found but the url is correct then it doesn't really sound like an SSL certificate is installed, this is what happens on any site if you set SSLIsAvailable to true but it really isn't available. To test it I would put a simple text file or simple html file in the root of the site and try to request it using https, if that fails then SSL is really not available.

Other than that, the bottom line is you are in unchartered territory hosting mojoPortal on a web farm. I have been consistent in saying we don't really yet support web farms, and I cannot promise everything to work correctly in that environment at this point. If it works for you that is great but I cannot promise it will at this point. It is planned for the future but we are not there yet and it may yet be a while before we claim to support web farm environments.

Best,

Joe

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