From the httpd.conf file:
 
     ### Section 2: 'Main' server configuration
     #
     # The directives in this section set up the values used by the 'main'
     # server, which responds to any requests that aren't handled by a
     # <VirtualHost> definition.  These values also provide defaults for
     # any <VirtualHost> containers you may define later in the file.
     #
 
Therefore, the following works;
 
     #...snip (a whole lot)
 
     DocumentRoot "<root>/apache/htdocs"
     #...snip (a whole lot)
 
     Listen 80
     <VirtualHost _default_:80>
     </VirtualHost>
 
     Listen 443
     <VirtualHost _default_:443>
       SSLEngine             on
       SSLCertificateFile    "<root>/apache/conf/ssl.crt/snakeoil-rsa.crt"
       SSLCertificateKeyFile "<root>/apache/conf/ssl.key/snakeoil-rsa.key"
     </VirtualHost>
--CB

Reply via email to