I have a number of virtuals hosts serving sites from apache. Each site has it's own config file and many have SSL certificates setup.
00_default.conf file <VirtualHost *:80>
points to a static 404 type page
This all works well...
My problem is if you visit a site in https mode that doesn't have have SSL setup or does not have a config file it defaults to using the SSL certificate from the first config file it finds containing <VirtualHost *:443>
.
I assume I need to create a rule in the 00_default.conf to catch requests for pages that don't exist when requested via HTTPS. So far I have not found a configuration that works.