httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark McCulligh" <mmccu...@visualtech.ca>
Subject [users@httpd] Multiple SSL
Date Sun, 08 Feb 2004 16:38:39 GMT
Hi Group,

I am tryng to set two SSL on my server through VirtualHost. Do you have to
comment out the <VirtualHost _default_:443> Right now I get the default SSL
when I try to use https://www.visualtech.ca

My one VirtualHost setup looks like this:

NameVirtualHost 192.168.192.106
<VirtualHost 192.168.192.106>
   ServerName         www.visualtech.ca
   ServerAlias           visualtech.ca
   ServerAdmin       webmaster@visualtech.ca
   DocumentRoot      /isp/visualtech/www-visualtech
   DirectoryIndex      index.php index.shtml index.htm index.html
   CustomLog           /isp/all/logs/visualtech/access_log "combined"
   ErrorLog               /isp/all/logs/visualtech/error_log
   LogLevel emerg
</VirtualHost>

<IfDefine SSL>
<VirtualHost 64.201.176.106:443>
  ServerName         www.visualtech.ca
  ServerAdmin       webmaster@visualtech.ca
  DocumentRoot    /isp/visualtech/www-visualtech
  ErrorLog             /isp/all/logs/visualtech/error_log
  TransferLog        /isp/all/logs/visualtech/access_log
  SSLEngine on
  SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile  /usr/local/apache/current/conf/ssl.crt/visualtech.crt
  SSLCertificateKeyFile
/usr/local/apache/current/conf/ssl.key/visualtech.key

  SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0

  CustomLog /isp/all/logs/visualtech/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>

Thanks, Mark


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message