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: Forcing access to https
Author
webavatar



Joined: 20 Nov 2016
Posts: 5
Location: San Francisco

PostPosted: Sun 26 Feb '17 6:00    Post subject: Forcing access to https Reply with quote

Hello,
I've tried following the instructions here:

https://wiki.apache.org/httpd/RedirectSSL

...in my virtual host file but it doesn't work for me. I can browse to the site with http:// but the redirect doesn't work.

(the explanation there is a little confusing ...it's hard to understand what the "/secure" is really referring to).

Browsing to the site using "https://" works but I want to force it. Does anyone know why the advice on the apache site doesn't seem to work?
Back to top
webavatar



Joined: 20 Nov 2016
Posts: 5
Location: San Francisco

PostPosted: Sun 05 Mar '17 19:50    Post subject: Reply with quote

After reading those instructions more carefully, understanding them and comparing them to my virtual host, I realized that a few lines of the virtualhost file needed to be changed. So the result is that:

Those instructions on the apache Wiki work just great after all!
Back to top


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