Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 44679 invoked from network); 5 Apr 2005 20:51:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2005 20:51:04 -0000 Received: (qmail 32658 invoked by uid 500); 5 Apr 2005 20:50:45 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 32646 invoked by uid 500); 5 Apr 2005 20:50:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 32632 invoked by uid 99); 5 Apr 2005 20:50:44 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO,HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from host-64-179-96-129.pit.choiceone.net (HELO sci2.stoltenberg.com) (64.179.96.129) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 05 Apr 2005 13:50:43 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C53A21.20E68E9D" Subject: Tomcat + Apache Web Server Date: Tue, 5 Apr 2005 16:50:41 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat + Apache Web Server Thread-Index: AcU6IR4zcQ/CNJo7TBKmhqd00bIyNQ== From: "Magnotta, Salvatore" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C53A21.20E68E9D Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm new with Apache products and this is my first post. Please see the = background info - it explains what versions I have and what I have done. Question: How can I have both Apache and Tomcat running on a Windows = platform using Internet Explorer and do the following: http://localhost/servlet/HelloServlet (no Tomcat default port 8080) instead of=20 http://localhost:8080/servlet/HelloServlet ? If I try to do http://localhost/servlet/HelloServlet I get an internal = server error. It cannot find where this is located. Apache is trying to find it at C:\Documents and Settings\username\My = Documents\My Website\localhost\www\servlet\HelloServlet instead of=20 C:\Program Files\Apache Software Foundation\Tomcat = 5.5\webapps\ROOT\WEB-INF\classes\HelloServlet -------------------------------------------------------------------------= Background: =20 Apache 2.0.53 (Port 80 - default) Tomcat 5.5.7 (Port 8080 - default) mod_jk 1.2.8 (to connect the two together) Operating System: Win 2K Server I installed both Apache and Tomcat as Windows Services using the install = programs that are available. =20 I am able to access http://localhost and http://localhost:80 (Apache = Web server page comes up) I am able to access http://localhost:8080 (Tomcat page comes up) I am able to create basic servlets and run them. For example, = http://localhost:8080/servlet/HelloServlet I am able to access this host from another machine running Win XP. I = can bring up the Apache and Tomcat home pages on that PC's browser, and = the servlets. I have placed the following in my httpd.conf file: LoadModule jk_module modules/mod_jk.so JkWorkersFile "C:/Program Files/Apache Software Foundation/Tomcat = 5.5/conf/workers.properties" JkLogFile "C:/Program Files/Apache Group/Apache2/logs/mod_jk.log" JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " I have the workers.properties file also set up: worker.ajp13.port=3D8009 worker.ajp13.host=3Dlocalhost worker.ajp13.type=3Dajp13 worker.ajp13.lbfactor=3D2 worker.loadbalancer.type=3Dlb worker.loadbalancer.balanced_workers=3Dajp12, ajp13 Thank you, Sal ------_=_NextPart_001_01C53A21.20E68E9D--