I have just upgraded mod_ssl form 2.0 to 2.1.1.  I can no longer connect
to the server.  I get the trusty old:

A network error occured:  unable to connect to server....


I think I know what the problem is but would appreciate a confirmation.
In my httpd.conf file I have been using name based virtual hosting.  If I
understand mod_ssl I cannot use this method but must replace it with IP
aliases and
remove the NameVirtualHost line.  Is this correct?  

NameVirtualHost 192.75.244.134:80 

<VirtualHost 192.75.244.134:80>
   DocumentRoot /usr/local/www/data
   ServerName oscar.cprost.sfu.ca
   ErrorLog /var/log/httpd-error-oscar.log
   CustomLog /var/log/httpd-access-oscar.log combined
   SSLDisable 
</VirtualHost>

<VirtualHost 192.75.244.134:443>
   DocumentRoot /usr/local/www/data
   ServerName oscar.cprost.sfu.ca
   SSLEngine on
   SSLOptions +CompatEnvVars
   SSLEnable
   #SSLRequire
   SSLCertificateFile /usr/local/etc/apache/ssl.crt/mycrt.crt
   SSLCertificateKeyFile /usr/local/etc/apache/ssl.key/mykey.key
   SSLVerifyClient none
   SSLLogFile /var/log/httpd-ssl.log
   CustomLog /var/log/httpd-access-oscarSSL.log "%t %h %{version}c %{cipher}c % 
ErrorLog /var/log/httpd-error-oscarSSL.log 

</VirtualHost>


______________________________________________________________________
Apache Interface to SSLeay (mod_ssl)   www.engelschall.com/sw/mod_ssl/
Official Support Mailing List               [EMAIL PROTECTED]
Automated List Manager                       [EMAIL PROTECTED]

Reply via email to