Page 1 of 1

Http: or Https: ?

Posted: Mon Jun 05, 2023 8:22 pm
by TallGrass
If one just types "telemarktalk.com" it takes you to:
[do not click -->] http://telemarktalk.com/ which is not secure, unlike
https://telemarktalk.com/ which is secure when logging in.
I wonder if it would be possible to re-route any http: to https: for Logging In.
Thoughts?

Re: Http: or Https: ?

Posted: Mon Jun 05, 2023 11:22 pm
by Krummholz
To automatically redirect http to https, is normally done by the site admin. Either by adding:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

To the httpd.conf file in Apache

If it’s a “managed” server where the site admin has to use something like cPanel. The previous three lines would be added to .htaccess

If someone searches Google for Telemarktalk, Google will automatically send them to https://telemarktalk.com


Thanks for the chance to use that muscle, it’s been a while….

Re: Http: or Https: ?

Posted: Tue Jun 06, 2023 1:05 am
by Stephen
I would be even more impressed if you hacked the server and added the code…
:lol:
Krummholz wrote:
Mon Jun 05, 2023 11:22 pm
To automatically redirect http to https, is normally done by the site admin. Either by adding:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

To the httpd.conf file in Apache

If it’s a “managed” server where the site admin has to use something like cPanel. The previous three lines would be added to .htaccess

If someone searches Google for Telemarktalk, Google will automatically send them to https://telemarktalk.com


Thanks for the chance to use that muscle, it’s been a while….

Re: Http: or Https: ?

Posted: Tue Jun 06, 2023 1:30 am
by TallGrass
Krummholz wrote:
Mon Jun 05, 2023 11:22 pm
To automatically redirect http to https, is normally done by the site admin. Either by adding:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

To the httpd.conf file in Apache

If it’s a “managed” server where the site admin has to use something like cPanel. The previous three lines would be added to .htaccess

If someone searches Google for Telemarktalk, Google will automatically send them to https://telemarktalk.com


Thanks for the chance to use that muscle, it’s been a while….
Neat. 8-) Not sure how deep into this stuff @Johnny gets.

Any thoughts on these two?
http://www.telemarcoeur.com/pages/conte ... emark.html

Eddie.dns: https://telemarktalk.com/viewtopic.php?f=10&t=4891
(Here is a SAFE cached page from 2 June 2023 by Google as trying to visit "eddie.dns" directly now throws a Malicious Site flag.)