From owner-freebsd-questions@FreeBSD.ORG Sun Apr 20 23:54:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A71837B401 for ; Sun, 20 Apr 2003 23:54:31 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AF8A43FE0 for ; Sun, 20 Apr 2003 23:54:30 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h3L6sQM4004562; Mon, 21 Apr 2003 18:54:26 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h3L6sPk2004561; Mon, 21 Apr 2003 18:54:25 +1200 (NZST) Date: Mon, 21 Apr 2003 18:54:25 +1200 From: Jonathan Chen To: Louis LeBlanc Message-ID: <20030421065425.GA4464@grimoire.chen.org.nz> References: <20030420230121.GN59280@keyslapper.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030420230121.GN59280@keyslapper.org> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Apache 2.0 and Tomcat 4.1 - looking for a more relevant mailing list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 06:54:31 -0000 On Sun, Apr 20, 2003 at 07:01:21PM -0400, Louis LeBlanc wrote: [...] > If there is no list, any other suggestions on current, clear, and > complete information about setting up Apache 2.0 and Tomcat 4.1 to > handle JSP pages would be greatly appreciated. If you're talking about accessing your webapp in Tomcat via Apache webport. You need to: 1. Install www/mod_webapp-apache2. 2. Tweak Tomcat's server.xml file and uncomment the "Apache-Connector" service. Replace the name="..." with the ServerName off your apache config. 3. Tweak Apache's httpd.conf, and add: LoadModule webapp_module libexec/apache2/mod_webapp.so WebAppConnection warpConnection warp localhost:8008 If you have a VirtualHost entry, you can do something like: ServerName virtual.mydomain.org:80 DocumentRoot /webroot/virtual WebAppDeploy mywebapp warpConnection /tomcat/ The port-specifier is important. The webapp "mywebapp" will run when you access: http://virtual.mydomain.org/tomcat/ Hope this helps. -- Jonathan Chen ---------------------------------------------------------------------- Don't worry about avoiding temptation, as you grow older, it starts avoiding you.