Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

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



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

https redirect to http

Post new topic   Reply to topic    Apache Forum Index -> Apache

View previous topic :: View next topic  
Author Message

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 ?

Back to top

Joined: 28 Apr 2016
Posts: 10

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

Joined: 05 Feb 2012
Posts: 55
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

Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1