[SOLVED] Webserver, redirect/force https (apache)

I've scoured the web, but the virtual host file my install has, uses _default_:80 where as most guides use *:80, and despite trying various things I can not get it to work.
I can access my site(s) by http, and manually by https : but I'd like to block/redirect all traffic to https.
And I'd prefer to do it via /etc/httpd/conf/sites.d/vhosts than messing with .htaccess.
My 00_default_vhosts.conf is
Appreciate any help.
I can access my site(s) by http, and manually by https : but I'd like to block/redirect all traffic to https.
And I'd prefer to do it via /etc/httpd/conf/sites.d/vhosts than messing with .htaccess.
My 00_default_vhosts.conf is
- Code: Select all
<VirtualHost _default_:80>
ServerAdmin root@localhost
ServerName localhost
</VirtualHost>
Appreciate any help.