Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 22280 invoked by uid 500); 17 Oct 2001 14:16:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 22244 invoked from network); 17 Oct 2001 14:16:57 -0000 Date: Wed, 17 Oct 2001 10:16:38 -0400 From: akeijou@netscape.net (m akeijou) To: tomcat-user@jakarta.apache.org Subject: THIS IS HELP with Tomcat-Apache mapping Message-ID: <2B546295.48A3415B.001D7164@netscape.net> X-Mailer: Atlas Mailer 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N i just finished my Tomcat 4.0 to Apache 1.3 mappings both on W2000 and RH Linux 7.1, thanks to help from this list. considering the recent questions in this mailing list about this subject i thought it'd be my turn to share my experience. the mapping solves the following problems (as far as i know): 1. to use a URL with no port number, e.g., http://my.domain.com/examples/ instead of http://my.domain.com:8080/examples/ 2. to take advantage of having all the source java, html, jsp, etc., in one place (in Tomcat) and yet have tomcat serve the jsps and servlets, and apache serve the html as usual the pointers below assume that you have apache 1.3 and tomcat 4 installed and each one runs correctly separately. for Windows 2000: - get the webapp module from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/win32/ - follow instructions in the INSTALL.txt file (very good instructions) for installing the module and configuring apache - changes in httpd.conf on my development server LoadModule webapp_module modules/mod_webapp.so : NameVirtualHost * : : ServerName localhost WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples/ WebAppDeploy myapps conn /myapps/ WebAppInfo /webapp-info for Linux: - go to the CVS repositories in http://jakarta.apache.org/site/cvsindex.html and follow instructions on this page for getting the webapp module (in the cvs command line, replace [module-name] with jakarta-tomcat-connectors/webapp) - after download, go to CVSROOT/webapp and follow instructions in README.txt to install webapp - then follow instructions in INSTALL.txt to configure it for apache-tomcat connection - changes in httpd.conf on my production server LoadModule webapp_module libexec/mod_webapp.so : NameVirtualHost my.IP.address.here : : ServerName mydomain WebAppConnection conn warp mydomain:8008 WebAppDeploy examples conn /examples/ WebAppDeploy myapps conn /myapps/ WebAppInfo /webapp-info hope that helps, --meg __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/