I looked through the list archives and couldn't find this one;
apologies in advance if this is in there somewhere.  This shouldn't be
a difficult question although I'll probably be too wordy in explaining
it ...

Near the bottom of my httpd.conf file I have

  NameVirtualHost 128.32.123.180
  ServerAdmin [EMAIL PROTECTED]

  Include "conf/virtual-hosts.conf"
  Include "conf/modssl.conf"
  Include "conf/belch-ssl.conf"

The virtual-hosts.conf file looks like the following:

  <VirtualHost 128.32.123.180>
    ServerName grunt.berkeley.edu

    ServerAlias grunt

    DocumentRoot /usr/local/apache/htdocs/grunt
    ServerPath /grunt

    ErrorLog  /usr/local/apache/logs/grunt/error_log
    CustomLog /usr/local/apache/logs/grunt/access_log common
    CustomLog /usr/local/apache/logs/grunt/referer_log referer
    CustomLog /usr/local/apache/logs/grunt/agent_log agent
  </VirtualHost>

  <VirtualHost 128.32.123.180>
    ServerName belch.berkeley.edu

    ServerAlias belch

    DocumentRoot /usr/local/apache/htdocs/belch
    ServerPath /belch

    ErrorLog  /usr/local/apache/logs/belch/error_log
    CustomLog /usr/local/apache/logs/belch/access_log common
    CustomLog /usr/local/apache/logs/belch/referer_log referer
    CustomLog /usr/local/apache/logs/belch/agent_log agent
  </VirtualHost>

The modssl.conf file file contains what the modssl installation adds
to your httpd.conf file MINUS the <virtualhost> part; that part I've
put in the belch-ssl.conf file which looks like the following:

  <VirtualHost 128.32.123.180:443>

  #  General setup for the virtual host
  DocumentRoot "/usr/local/apache/htdocs/belch"
  ServerName belch.berkeley.edu
  ServerAdmin [EMAIL PROTECTED]
  ErrorLog /usr/local/apache/logs/belch/error_log
  TransferLog /usr/local/apache/logs/belch/access_log

  #   SSL Engine Switch:
  #   Enable/Disable SSL for this virtual host.
  SSLEngine on

  ... etc. ...

  </VirtualHost>

My question is: can I leave out any of the stuff in the :443
virtualhost section (in belch-ssl.conf) that's already been specified
for it previously?  Specifically, could I leave out DocumentRoot,
ErrorLog, TransferLog, ServerAdmin, etc?

Thanks in advance for your help,
Rusty
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to