× Here you can get community support related to ReDJ.

SSL Redirection

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #3000 by bonaventure
Replied by bonaventure on topic SSL Redirection
Thank you,
As noted earlier, the solution you provided works perfectly for the shopping cart (i.e., turning on SSL for the cart, then skipping it for all other parts of the site). As mentioned, I need a few other places to skip.
1) I'd like to enable SSL for the free registration page of the website (currently at mysite.com/register)...this is not part of the shopping cart.
2) I need to use SSL to link my logo to paypal. For example, www.mysite.com/images/logo.png.

One quick solution, I suspect, would be to move my registration page as a submenu of "cart". This would automatically enable SSL for registration. Then, perhaps I could also create a folder called "cart" in my root directory and place my logo there. Can you think of a better way to do this?
Danny

Please Log in or Create an account to join the conversation.

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #3001 by bonaventure
Replied by bonaventure on topic SSL Redirection
Although I could hide Community Builder Registration under the cart menu item, I cannot create a folder for cart as that would break down SEO for the site (I just tested and it didn't work).

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #3003 by admin
Replied by admin on topic SSL Redirection
Yes,
maybe I have a solution... :)

Change rules as follow:
From URL: ^/(cart|register)/
To URL: https://{host}{path}{queryfull}
Request only: true (checked)
Skip condition: ^https://

From URL: ^https://
To URL: http://{host}{path}{queryfull}
Request only: false (unchecked)
Skip condition: /(cart|register)/

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #3009 by bonaventure
Replied by bonaventure on topic SSL Redirection

Yes,
maybe I have a solution... :)

Change rules as follow:
From URL: ^/(cart|register)/
To URL: https://{host}{path}{queryfull}
Request only: true (checked)
Skip condition: ^https://

From URL: ^https://
To URL: http://{host}{path}{queryfull}
Request only: false (unchecked)
Skip condition: /(cart|register)/

Kind regards,
Luigi


Almost. It didn't cause any errors with the cart SSL, but SSL did not work with /register. In other words, "register" was not skipped.

Please Log in or Create an account to join the conversation.

More
10 years 2 months ago #3013 by admin
Replied by admin on topic SSL Redirection
I realized that the URL is just /register and not /register/<something else> like for cart. So, change rules as follow:
From URL: ^/(cart/|register)
To URL: https://{host}{path}{queryfull}
Request only: true (checked)
Skip condition: ^https://

From URL: ^https://
To URL: http://{host}{path}{queryfull}
Request only: false (unchecked)
Skip condition: /(cart/|register)

This should work...

Please Log in or Create an account to join the conversation.

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 2 months ago #3017 by bonaventure
Replied by bonaventure on topic SSL Redirection
Brilliant! Works perfectly. Thank you for staying with me. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.155 seconds