I've setup a redirect for capturing all http: (port 80) traffic. This is to resolve a security issue (ie. don't allow anyone direct access to the server).
<VirtualHost *:80>
DocumentRoot "/var/www/html/redirect"
</VirtualHost>
This is the first entry in the vhosts file and works fine. However, I'd like to also use this for all redirecting all https: traffic (port 443) using the following (place directly after the first entry in the vhost file...
<VirtualHost *:443>
DocumentRoot "/var/www/html/redirect"
</VirtualHost>
However, doing this crashes all our sites....
I've ran an httpd -S and it returns no errors.
Any advice on how to setup the https redirect?