Here's the pertinent bits (this file may look a bit strange -- it's a Mac OS X Server conf file, but functions in almost every way like traditional http.conf file):
#<RAdmin 159> NameVirtualHost 63.231.43.185:443 Listen 63.231.43.185:443 <VirtualHost 63.231.43.185:443> ServerName ncascades.org #WebPerfCacheEnable Off #SiteAutomaticallyDisabled Off ServerAdmin [EMAIL PROTECTED] DocumentRoot "/Volumes/Bigone/Accounts/nci/Sites" DirectoryIndex index.html index.ldmx CustomLog "/Volumes/Bigone/Accounts/nci/Logs/access_log" combined ErrorLog "/Volumes/Bigone/Accounts/nci/Logs/error_log" <IfModule mod_ssl.c> SSLEngine On SSLLog "/private/var/log/httpd/ssl_engine_log" #SSLCertificateChainFile "/private/etc/httpd/ssl.crt/ca.crt159" SSLCertificateFile "/private/etc/httpd/ssl.crt/server.crt159" SSLCertificateKeyFile "/private/etc/httpd/ssl.key/server.key159" SSLCipherSuite "RSA:-HIGH:-MEDIUM:-LOW:+EXP" #SSLPassPhrase ncascades.org:443 "blahblah" </IfModule> <IfModule mod_dav.c> DAVLockDB "/private/var/run/davlocks/.davlock159" DAVMinTimeout 600 </IfModule> <Directory "/Volumes/Bigone/Accounts/nci/Sites"> Options All +MultiViews +ExecCGI -Indexes AllowOverride All <IfModule mod_dav.c> DAV Off </IfModule> </Directory> #<Realm 1> <Directory "/Volumes/Bigone/Accounts/nci/Sites"> AuthName "ncascades.org" AuthType Basic <Limit PUT DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> Require no-user </Limit> </Directory> #</Realm> </VirtualHost> #</RAdmin>
#<RAdmin 160> #NameVirtualHost 63.231.43.185:443 #Listen 63.231.43.185:443 <VirtualHost 63.231.43.185:443> ServerName www.pacific-papers.com #WebPerfCacheEnable Off #SiteAutomaticallyDisabled Off ServerAdmin [EMAIL PROTECTED] DocumentRoot "/Volumes/Bigone/Accounts/pacific_paper/Sites" DirectoryIndex index.html index.ldmx CustomLog "/Volumes/Bigone/Accounts/nci/Logs/access_log" combined ErrorLog "/Volumes/Bigone/Accounts/nci/Logs/error_log" <IfModule mod_ssl.c> SSLEngine On SSLLog "/private/var/log/httpd/ssl_engine_log" #SSLCertificateChainFile "/private/etc/httpd/ssl.crt/ca.crt160" SSLCertificateFile "/private/etc/httpd/ssl.crt/server.crt160" SSLCertificateKeyFile "/private/etc/httpd/ssl.key/server.key160" SSLCipherSuite "RSA:-HIGH:-MEDIUM:-LOW:+EXP" #SSLPassPhrase www.pacific-papers.com:443 "blahblah" </IfModule> <IfModule mod_dav.c> DAVLockDB "/private/var/run/davlocks/.davlock160" DAVMinTimeout 600 </IfModule> <Directory "/Volumes/Bigone/Accounts/pacific_paper/Sites"> Options All +MultiViews +ExecCGI -Indexes AllowOverride All <IfModule mod_dav.c> DAV Off </IfModule> </Directory> #<Realm 1> <Directory "/Volumes/Bigone/Accounts/pacific_paper/Sites"> AuthName "www.pacific-papers.com" AuthType Basic <Limit PUT DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> Require no-user </Limit> </Directory> #</Realm> </VirtualHost> #</RAdmin>
On Friday, March 14, 2003, at 04:58 PM, [EMAIL PROTECTED] wrote:
On 14 Mar 2003 at 16:20, Dan McComb wrote:
I've successfully installed one virtual host on my server to listen on
port 443, and it's been running great. But when I added another virtual
host directive to listen on same port further down in the file, I find
that the first listener is the one that "picks up" the request. This
results in an error in IE: "the identity certificate name is not
correct." If I comment out the first virtual host, the problem
disappears and the second one works fine. I need them to work
together...
Anyone know how can I configure my virtual hosts/httpd.conf to avoid this problem?
/dan mccomb
---------------------------------------------------------------------- --
------------
Hi - I'm new to mod_ssl, but have just successfully done what you are describing. Can you post the pertianant part of you httpd.conf?
Also - do you point to each servers' certificate and private key within each vhost with the SSLCertuficateFile and CCLCertificateKeyFile directives?
Aloha => Beau;
______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
------------------------------------------------------------------------ ------------
Visual Contact 311 First Ave. S, Suite 200 Seattle, WA 98104
206.223.0417 Office 206.718.5361 Cell
[EMAIL PROTECTED] http://www.visualcontact.com
______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
