logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: https redirect to http
Author
patrickchan



Joined: 19 Jul 2018
Posts: 6
Location: china

PostPosted: Thu 19 Jul '18 11:09    Post subject: https redirect to http Reply with quote

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

PostPosted: Fri 20 Jul '18 1:20    Post subject: Reply with quote

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

PostPosted: Mon 23 Jul '18 13:26    Post subject: Reply with quote

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


Reply to topic   Topic: https redirect to http View previous topic :: View next topic
Post new topic   Forum Index -> Apache