Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 40530 invoked from network); 7 Jun 2005 13:08:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 13:08:59 -0000 Received: (qmail 47275 invoked by uid 500); 7 Jun 2005 13:08:40 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 47262 invoked by uid 500); 7 Jun 2005 13:08:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 47240 invoked by uid 99); 7 Jun 2005 13:08:38 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mxout01.versatel.de (HELO mxout01.versatel.de) (212.7.152.115) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 06:08:36 -0700 Received: from mx02.versatel.de (mx02.versatel.de [212.7.146.2]) by mxout01.versatel.de (8.12.11/8.12.11) with ESMTP id j57BSllI021640 for ; Tue, 7 Jun 2005 13:28:47 +0200 Received: from mars.topitservices.com (mail.top-itservices.com [195.226.168.210]) by mx02.versatel.de (8.12.11/8.12.11) with SMTP id j57BSlpd014698 for ; Tue, 7 Jun 2005 13:28:47 +0200 Received: from ([192.168.10.175]) by mars.topitservices.com; Tue, 07 Jun 2005 11:28:01 +0000 (UTC) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Subject: AW: Virtual host, workers file and httpd.conf settings for SSL Date: Tue, 7 Jun 2005 13:28:01 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Virtual host, workers file and httpd.conf settings for SSL Thread-Index: AcVrUTGBxXg9h0dhQQWwGFoCMdLlkgAArPLQ From: "Gessendorfer, Thomas" To: "Tomcat Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Then I see the starting page of the Apache2 Installation... Regards, Tom -----Urspr=FCngliche Nachricht----- Von: Raghupathy,Gurumoorthy = [mailto:gurumoorthy.raghupathy@uk.fid-intl.com]=20 Gesendet: Dienstag, 7. Juni 2005 13:07 An: 'Tomcat Users List' Betreff: RE: Virtual host, workers file and httpd.conf settings for SSL Change=20 From DocumentRoot C:/tomcat/Tomcat_5.5.9/webapps/idm To DocumentRoot c:/Apache/Apache2/htdocs Regards Guru -----Original Message----- From: Gessendorfer, Thomas = [mailto:Thomas.Gessendorfer@TOP-ITSERVICES.COM]=20 Sent: 07 June 2005 11:43 To: tomcat-user@jakarta.apache.org Subject: Virtual host, workers file and httpd.conf settings for SSL Hello, just installed Apache and Tomcat with the JK Connector and it works for =3D 1 worker on my machine. Now I installed a new Application for which I want to have SSL access. So I made a new virtual host in my hhtpd.conf that looks like this for = =3D the standard and the SSL host: ServerAdmin admin@test.de =3D20 DocumentRoot c:/Apache/Apache2/htdocs ServerName idmsrv1.example.net ErrorLog logs/idmsrv1.example.net-error.log CustomLog logs/idmsrv1.example.net-access.log common ServerAdmin admin@test.de =3D20 DocumentRoot C:/tomcat/Tomcat_5.5.9/webapps/idm ServerName idm.example.net ServerAlias idm ErrorLog logs/idm.example.net-error.log CustomLog logs/idm.example.net-access.log common=3D20 SSLEngine On SSLCertificateFile conf/ssl/identity.crt SSLCertificateKeyFile conf/ssl/server.key =3D20 =3D20 The JK Part of my httpd.conf looks like this: # Update this path to match your modules location LoadModule jk_module modules/mod_jk.so =3D20 # Where to find workers.properties # Update this path to match your conf directory location (put =3D workers.properties next to httpd.conf) JkWorkersFile conf/workers.properties # Where to put jk logs # Update this path to match your logs directory location (put mod_jk.log =3D next to = access_log) JkLogFile logs/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # JkOptions indicate to send SSL KEY SIZE,=3D20 JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories # JkRequestLogFormat set the request format=3D20 JkRequestLogFormat "%w %V %T" # send all Servlet Examples to worker1 JkMount /servlets-examples* worker1 # send all JSP Examples to worker1 JkMount /jsp-examples* worker1 # send all Servlet Examples to worker1 JkMount /tomcat-docs* worker1 # send all IDM Examples to worker1 JkMount /idm* worker1 Everything is sent to worker now in my workers.properties file: # Define 1 real worker using ajp13 worker.list=3D3Dworker1 # Set properties for worker1 (ajp13) worker.worker1.type=3D3Dajp13 worker.worker1.host=3D3Dlocalhost worker.worker1.port=3D3D8009 worker.worker1.lbfactor=3D3D50 worker.worker1.cachesize=3D3D10 worker.worker1.cache_timeout=3D3D600 worker.worker1.socket_keepalive=3D3D1 worker.worker1.reclycle_timeout=3D3D300 SSL is already working and I set up this idm.example.net host which =3D should be O.K. too. When I now access the host idm.example.net from the Webbrowser, I see = =3D the source Code of the /idm/*.jsp site not the correct Website. Tomcat is not starting the WebApp. What and how do I have to configure the virtual host, the httpd.conf JK =3D configurations and the worker file to get the Webapp working correctly? Do I have to set up a second worker (as ajp13?)? --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org