istopwg / website

PWG.org web site code
Apache License 2.0
3 stars 1 forks source link

HTTP request doesn't redirect to HTTPS equivalent #26

Closed wifiprintguy closed 4 years ago

wifiprintguy commented 4 years ago

If I click on this to load the PWG home page (http://www.pwg.org) I now expect it to redirect to its TLS equivalent (https://www.pwg.org). Currently that redirection isn't working, but in the past I thought it was.

wifiprintguy commented 4 years ago

Would using VirtualHost or the mod_rewrite as described on this page (https://linuxize.com/post/redirect-http-to-https-in-apache/) do the trick? Which would be better?

A thread on StackOverflow seems to indicate a preference for the VirtualHost method: https://stackoverflow.com/questions/16200501/http-to-https-apache-redirection

michaelrsweet commented 4 years ago

So at the moment we only redirect specific pages, but I can update the configuration to redirect all pages.

michaelrsweet commented 4 years ago

OK, this is now implemented for all pages.