tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Nielsen Lind" <>
Subject Re: SSL Apache & Tomcat (NameBased VirtualHosts)
Date Thu, 19 Jul 2001 20:24:28 GMT
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

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" <>
To: <>
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:


      ServerName www.domain.tld
      DocumentRoot /www/domain

      ServerName www.domain.tld
      DocumentRoot /www/domain

      ServerName www.otherdomain.tld
      DocumentRoot /www/otherdomain

      ServerName www.otherdomain.tld
      DocumentRoot /www/otherdomain


3. To start apache with a different config file use
   apache -f <file>

-----Urspr√ľngliche Nachricht-----
Von: Lars Nielsen Lind []
Gesendet: Donnerstag, 19. Juli 2001 14:32
Betreff: SSL Apache & Tomcat (NameBased VirtualHosts)

I want to use SSL with my Apache & Tomcat (mod_jk) - NameBased VirtualHosts.
I have read that I then should make to configuration files for the Apache
Web Server. One for communicating with port 80 (without SSL) and one for
communicating with port 443 (with SSL). Finally I shall start two instances
of the Apache Web Server - one that handles http requests and another that
handles https requests.
1.) Normally the httpd.conf file is placed in /etc/httpd/conf/httpd.conf.
Where shall I place the new SSL configuration file?
2.) How do I start two instances of the Apache Web Server - that uses their
own configuration files?
Lars Nielsen Lind

View raw message