Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 84412 invoked from network); 30 Aug 2003 20:59:47 -0000 Received: from unknown (HELO genesis.digitalinkasp.com) (209.167.159.142) by daedalus.apache.org with SMTP; 30 Aug 2003 20:59:47 -0000 Received: from opensource.dibacanada.com (localhost [127.0.0.1]) by localhost (8.10.2/8.10.2) with ESMTP id h7UKow508579 for ; Sat, 30 Aug 2003 16:50:58 -0400 From: "Sai Sivanesan" To: "tomcat_user" Subject: Virtual directories/Host via mod_JK2 Date: Sat, 30 Aug 2003 16:50:58 -0400 Message-Id: <20030830205058.M40691@opensource.dibacanada.com> X-Mailer: Open WebMail 1.81 20021203 X-OriginatingIP: 199.243.107.164 (sai_os@opensource.dibacanada.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N We have a bunch of customers using JSP on JDK 1.3.1 / Tomcat 3.1?2? / mod_jk / Apache 1.3. The default directory setup for these customers is DIRECTORY http:// - path- --------------------------------------------- ./site_url/html http://siteurl ./site_url/jsp http://siteurl/jsp ./site_url/cgi-bin http://siteurl/cgi-bin ./site_url/logs -- we use mod_jk.conf-auto to when we add a new site all we have to do is add the virtual host in apache and server.xml, reboot tomcat & apache and we are set. We'd like to move the same setup to JDK 1.4.2_01 / Tomcat 4.1.27 / mod_jk2 / Apache 2 All the HOW-TO's I've found do far and are hence far more more complex than we need. My understanding of how this should work is as follows: in Apache conf file in server.xml ---------------------------------------------------------------------------- VirtualHost1.exported_dir - -> VirtualHost1.contextpath->jsp_dir VirtualHost2.exported_dir - -> VirtualHost2.contextpath->jsp_dir VirtualHost3.exported_dir - -> VirtualHost3.contextpath->jsp_dir VirtualHost4.exported_dir -via mod_jk2.so-> VirtualHost4.contextpath->jsp_dir VirtualHost5.exported_dir -[one entry in -> VirtualHost5.contextpath->jsp_dir VirtualHost6.exported_dir -via mod_jk2.so-> VirtualHost6.contextpath->jsp_dir VirtualHostN.exported_dir - -> VirtualHostN.contextpath->jsp_dir can someone point me to a resource which might provide some info on piping requests to certain virtual directories thru mod_jk2. thanks. Sai.