At ...site.ssl/apache_2 the equivalent Config file to that mentioned earlier is as follows:
User webserv Group webserv LogLevel notice LogFormat "%h %l %t \"%r\" %s %b %a %{user-agent}i %U" sidney #SSLCacheServerPort 1234 #SSLCacheServerPath /usr/src/apache/apache_1.3.19/src/modules/ssl/gcache SSLSessionCache dbm:/usr/src/apache/apache_1.3.19/src/modules/ssl/gcache SSLCertificateFile /usr/src/apache/apache_1.3.19/SSLconf/conf/new1.cert.cert SSLCertificateKeyFile /usr/src/apache/apache_1.3.19/SSLconf/conf/privkey.pem SSLVerifyClient 0 SSLSessionCacheTimeout 3600 Listen 192.168.123.2:80 Listen 192.168.123.2:443 <VirtualHost 192.168.123.2:80> SSLEngine off ServerName www.butterthlies.com DocumentRoot /usr/www/APACHE3/site.virtual/htdocs/customers ErrorLog /usr/www/APACHE3/site.ssl/apache_2/logs/error_log CustomLog /usr/www/APACHE3/site.ssl/apache_2/logs/butterthlies_log sidney </VirtualHost> <VirtualHost 192.168.123.2:443> SSLEngine on ServerName sales.butterthlies.com DocumentRoot /usr/www/APACHE3/site.virtual/htdocs/salesmen ErrorLog /usr/www/APACHE3/site.ssl/apache_2/logs/error_log CustomLog /usr/www/APACHE3/site.ssl/apache_2/logs/butterthlies_log sidney <Directory /usr/www/APACHE3/site.virtual/htdocs/salesmen> AuthType Basic AuthName darkness AuthUserFile /usr/www/APACHE3/ok_users/sales AuthGroupFile /usr/www/APACHE3/ok_users/groups Require group cleaners </Directory> </VirtualHost>
It was slightly annoying to have to change a few of the directives, but in real life one is not going to convert between versions of Apache every day...
The only odd thing was that if we set
SSLSessionCache
to none
(which
is the default) or omitted it altogether, the browser was unable to
find the server. But set as shown earlier, everything worked fine.