Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 17470 invoked from network); 26 Jun 2008 18:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 18:08:54 -0000 Received: (qmail 38623 invoked by uid 500); 26 Jun 2008 18:08:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 38222 invoked by uid 500); 26 Jun 2008 18:08:44 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 38211 invoked by uid 99); 26 Jun 2008 18:08:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 11:08:44 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 18:07:54 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KBvtE-0004h1-Ut for users@tomcat.apache.org; Thu, 26 Jun 2008 11:08:12 -0700 Message-ID: <18139932.post@talk.nabble.com> Date: Thu, 26 Jun 2008 11:08:12 -0700 (PDT) From: dylanmac To: users@tomcat.apache.org Subject: Multiple development sites using different ports MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dylanmac@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org I'd like to configure Tomcat so that I can run multiple dev websites as root relative and distinguish them via port numbers. In order words, I'd like to run http://localhost:8080/index.jsp and have that be a different site (using a different directory) than http://localhost:9800/index.jsp The reason this matters to me is because I like running my sites as root-relative. That way I can reference images, files, etc as, for example, /images/logo.png rather than having to traverse the directory structure via "../". This makes the site much more portable and accurately reflects how the site will run in production anyway (where most sites run as root). So can anyone give me a quick primer on how to configure Tomcat to use multiple ports for root-relative development? I have spent several hours researching this with no luck. I am currently running Tomcat 6.0 Thanks. -- View this message in context: http://www.nabble.com/Multiple-development-sites-using-different-ports-tp18139932p18139932.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org