Hey guys. So I am mucking around and have set up an Apache Web Server on CentOS 7 in VMWare Workstation in a test environment. So I have created an SSL certificate using the mod_ssl package by following this how to https://www.digitalocean.com/communi...e-for-centos-7. Now it works fine and the browsers recognise it but what I'd like to achieve is to be able type the normal http address and have it redirect to the https version. I've tried following guides hat say to set up virtual hosts but when I restart Apache it throws an error.
I've been able to sort of fix my problem but I get this error when I type the http:// address into any browser and I am not sure on how to fix it. I've made .htaccess file but not sure if that really helped.
PS I posted this over the fence with not much help Force SSL Apache - Techist - Tech Forum. So I thought some of the gang here might be able to assist.
I've been able to sort of fix my problem but I get this error when I type the http:// address into any browser and I am not sure on how to fix it. I've made .htaccess file but not sure if that really helped.
PS I posted this over the fence with not much help Force SSL Apache - Techist - Tech Forum. So I thought some of the gang here might be able to assist.