Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: https redirect to http |
|
Author |
|
patrickchan
Joined: 19 Jul 2018 Posts: 6 Location: china
|
Posted: Thu 19 Jul '18 11:09 Post subject: https redirect to http |
|
|
I use apache , run on linux 7
I have a domain do not have apply ssl cert , now when run https://my_domain , it will go to a dead link .
What I want is when user access "https://my_domain" , it will go to http://my_domain .
What I need to do is use apache redirect function ? is it the best method ? if use this method , the browser will pop the warning message about the cert >
Another question , if you are suggest to use redirect , I know apache have a few configuration method to do redirect , which configuration method is better ?
thanks |
|
Back to top |
|
MeSo2
Joined: 28 Apr 2016 Posts: 12
|
Posted: Fri 20 Jul '18 1:20 Post subject: |
|
|
I suggest you use ssl. You can get free ssl at Let's Encrypt. It takes a bit to setup, but it works well. |
|
Back to top |
|
maba
Joined: 05 Feb 2012 Posts: 64 Location: Germany, Heilbronn
|
Posted: Mon 23 Jul '18 13:26 Post subject: |
|
|
As MeSo2 said, use SSL for https. Without that, there is no way, you can redirect anything as the protocol itself will not work. |
|
Back to top |
|
|
|
|
|
|