Jump to content
  • 0

Force Ssl + Htaccess


Question

Posted

I was helping a customer out with their Blesta install and I can't seem to get the force SSL working via .htaccess.

 

I've always used this code:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain.com [NC]
RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]

RewriteCond %{SERVER_PORT} ^80$
RewriteRule .* https://domain/{REQUEST_URI} [R,L]

But when you go to the portal: The following don't work:

- Support Tickets

- Order

- Downloads

 

I'm a bit confused because if you remove the code and go to https:// it works fine but I want to force SSL.

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...