I think it depends on the apache you use. If it uses mod_ssl you can use one apache for http and https if you use an precompiled package (like the apache-ssl in debian) you need to apaches if you have mod_ssl the virtual hosts should look like this Listen [IP-ADDRESS]:80 <VirtualHost [IP-ADDRESS]:80> ServerName [HOST.DOMAIN] DocumentRoot /web/[HOST.DOMAIN]/80/htdocs ErrorLog /web/[HOST.DOMAIN]/80/logs/error_log CustomLog /web/[HOST.DOMAIN]/80/logs/transfer_log combined </VirtualHost> <IfDefine SSL> Listen [IP-ADDRESS]:443 <VirtualHost [IP-ADDRESS]:443> ServerName [HOST.DOMAIN] DocumentRoot /web/[HOST.DOMAIN]/443/htdocs ErrorLog /web/[HOST.DOMAIN]/443/logs/error_log CustomLog /web/[HOST.DOMAIN]/443/logs/transfer_log sslrequest SSLLog /web/[HOST.DOMAIN]/443/logs/ssl_engine_log SSLEngine on SSLCertificateFile /opt/apache/conf/ssl.crt/[HOST.DOMAIN].crt SSLCertificateKeyFile /opt/apache/conf/ssl.key/[HOST.DOMAIN].key </VirtualHost> </IfDefine> gruss stefan "Lars Nielsen Lind" An: <[EMAIL PROTECTED]> <moonie@world Kopie: online.dk> Thema: Re: SSL Apache & Tomcat (NameBased VirtualHosts) 19.07.01 22:24 Bitte antworten an tomcat-user It dows not function correct. So I'll have to start one Apache instance with the httpd.conf file (port80) and another with the httpd_ssl.conf file (port443 - made by myself). Just as it is written in Professional Apache from Wrox. It is apparently the one and only way to solve the problems with NameBased VirtualHost and mod_ssl. I have tried to use the apache, apachectl command, and also the /ect/rc.d/init.d/httpd start command with -f <filename>, but it won't start with the SSL settings. The apache and apachectl won't work at all. Any solutions. ----- Original Message ----- From: "Ralph Einfeldt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 3:11 PM Subject: AW: SSL Apache & Tomcat (NameBased VirtualHosts) 1. this is a bit off topic for questions like that, it's better go to the apache list 2. you don't have to setup 2 apaches: just define two virtual hosts in httpd.conf: NameVirtualHost 111.22.33.44 <VirtualHost 111.22.33.44:80> ServerName www.domain.tld DocumentRoot /www/domain </VirtualHost> <VirtualHost 111.22.33.44:443> ServerName www.domain.tld DocumentRoot /www/domain </VirtualHost> <VirtualHost 111.22.33.44:80> ServerName www.otherdomain.tld DocumentRoot /www/otherdomain </VirtualHost> <VirtualHost 111.22.33.44:443> ServerName www.otherdomain.tld DocumentRoot /www/otherdomain </VirtualHost> see: http://httpd.apache.org/docs/vhosts/name-based.html