This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Redirection HTTP for HTTPS
#1
Redirection HTTP for HTTPS
how redirection:
http://domain.tdl for https://domain.tdl

Thanks
Reply
Thanks given by:
#2
RE: Redirection HTTP for HTTPS
use .htaccess this is the most basic form.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#3
RE: Redirection HTTP for HTTPS
You have the code?
I have used several and does not work ...
Reply
Thanks given by:
#4
RE: Redirection HTTP for HTTPS
Why not use Module Admin>>Apache Config>>Override a Virtual Host Setting?
Select your domain that you want to be forwarded from 80 to 443
(OptionsSmile
Port Override: 443
Forward Port 80 to Overriden Port: (Check This)
IP Override: Your Server IP (Optional)

Custom Entry:
SSLEngine on

SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW

SSLCertificateFile /etc/pki/tls/certs/localhost.crt

SSLCertificateKeyFile /etc/pki/tls/private/localhost.key



If you want HTACCESS option only?

RewriteEngine on

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}:443/$1 [NC,R,L]
get top priority support for Sentora  "Sentora Premium Support"
Domain Name Promos @ digix1 domains

Reply
Thanks given by:
#5
RE: Redirection HTTP for HTTPS
Solution !! Smile
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 19 ,126 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Install guide wget over http? edavidf 5 9 ,168 12-15-2020, 07:07 PM
Last Post: jibranahmed
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 41 ,742 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 1 Guest(s)