Login
Register
Home
Wiki Knowledge Base
FreeDNS
Facebook
Linux Support
Control Web Panel
MENU
Home
Help
Search
Login
Register
Control Web Panel
»
WebPanel
»
SSL
»
After Installed SSL how to open site automatic https?
« previous
next »
Print
Pages: [
1
]
Author
Topic: After Installed SSL how to open site automatic https? (Read 8595 times)
0 Members and 1 Guest are viewing this topic.
muhittin
Newbie
Posts: 9
Working on Drupal and Linux
After Installed SSL how to open site automatic https?
«
on:
September 29, 2015, 05:47:49 PM »
i installed purchase SSL it is working, no problem. But my site not open automatic
https://www.mysite.tls
. only manual type
https://www.mysite.tls
how i setup my site open automatic https?
Logged
Wants $10 bonus for FREE on VPS DigitalOcean
https://www.digitalocean.com/?refcode=4f7603c80195
-----------------------------------------------
Igor S.
The System Administrator for any GNU/Linux
Global Moderator
Hero Member
Posts: 1418
Re: After Installed SSL how to open site automatic https?
«
Reply #1 on:
September 30, 2015, 03:22:32 PM »
Hi.
You can using some redirect in .htaccess file.
Something like:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
Logged
You can ask me to solve any problem with your server for some money in pm
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services
muhittin
Newbie
Posts: 9
Working on Drupal and Linux
Re: After Installed SSL how to open site automatic https?
«
Reply #2 on:
October 01, 2015, 12:32:56 PM »
Thank you Igor for your answer.
i try your answer on my public_html/.htaccess file and public_html/mydomain.com/.htaccess but my problem not solved.
i am using drupal this domain, is drupal problem for this my issue?
have you another solve?
Logged
Wants $10 bonus for FREE on VPS DigitalOcean
https://www.digitalocean.com/?refcode=4f7603c80195
-----------------------------------------------
muhittin
Newbie
Posts: 9
Working on Drupal and Linux
Re: After Installed SSL how to open site automatic https?
«
Reply #3 on:
October 01, 2015, 01:12:26 PM »
i am solved problem
write this in .htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^
https://www.yourdomain.com%
{REQUEST_URI} [NS,R,L]
thank you Igor S, your answer is more helpfull me
all is that. good luck
Logged
Wants $10 bonus for FREE on VPS DigitalOcean
https://www.digitalocean.com/?refcode=4f7603c80195
-----------------------------------------------
Print
Pages: [
1
]
« previous
next »
Control Web Panel
»
WebPanel
»
SSL
»
After Installed SSL how to open site automatic https?