Force SSL?
Hello there,
I wanted to force SSL in our Gibbon installation. I decided to do it via the main .htaccess file. This is the original .htaccess file:
Now below I these added these lines:
Now it's working fine and it's forcing the browser to use the SSL port.
I wanted to force SSL in our Gibbon installation. I decided to do it via the main .htaccess file. This is the original .htaccess file:
Order Allow,Deny
Deny from all
Now below I these added these lines:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Now it's working fine and it's forcing the browser to use the SSL port.
Comments