/etc/httpd/conf/httpd.conf has three sections: Global, Main Server Configuration, and Virtual Servers. When a Virtual Server is created, it will default to the Main Server Configuration.
Thinking this same patter would continue, I put "<VirtualHost *:443>bla bla bla</VirtualHost>" in /etc/httpd/conf/httpd.conf, but got the following error:
Code:
[root@michaels httpd]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Tue Mar 25 22:28:23 2014] [warn] _default_ VirtualHost overlap on port 443, the first has precedence
[FAILED]
[root@michaels httpd]#
Looking in /etc/httpd/conf.d/ssl.conf, sure enough I see "<VirtualHost _default_:443>bla bla bla </VirtualHost>".
How do I resolve this error? I would rather not comment out the default VirtualHost in ssl.conf, but extend the default values to any newly created SSL VirtualHost.
Thanks