Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 55208 invoked from network); 26 Oct 2004 22:37:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Oct 2004 22:37:01 -0000 Received: (qmail 42984 invoked by uid 500); 26 Oct 2004 22:35:32 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 42889 invoked by uid 500); 26 Oct 2004 22:35:29 -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 42765 invoked by uid 99); 26 Oct 2004 22:35:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [65.32.5.135] (HELO ms-smtp-05.tampabay.rr.com) (65.32.5.135) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Oct 2004 15:35:21 -0700 Received: from csunadmin (136.13.205.68.cfl.rr.com [68.205.13.136]) by ms-smtp-05.tampabay.rr.com (8.12.10/8.12.7) with SMTP id i9QLmaNu001137 for ; Tue, 26 Oct 2004 17:48:36 -0400 (EDT) From: "Allen Williams" To: "Tomcat Users List" Subject: RE: Apache, Tomcat and mod_jk2 - question about layout Date: Tue, 26 Oct 2004 17:50:18 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <040d01c4bba4$0ecdde60$8101a8c0@ptslaptop> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181 X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Could you post the germane parts of your configuration files? Thanks, anw > -----Original Message----- > From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net] > Sent: Tuesday, October 26, 2004 5:38 PM > To: Tomcat Users List > Subject: Re: Apache, Tomcat and mod_jk2 - question about layout > > > Unless you have a reason, why not let Tomcat do it all? > > Doug > > ----- Original Message ----- > From: "footh" > To: > Sent: Tuesday, October 26, 2004 5:13 PM > Subject: Apache, Tomcat and mod_jk2 - question about layout > > > > After going through all the documentation, I have > > gotten mod_jk2 to forward jsp requests to Tomcat. > > However, I have a question about the layout... > > > > Essentially, my site will be .html pages with some > > occasional .jsp pages (it will likely change in the > > future to all .jsp/servlets, but for now that's the > > way it is). Right now, I have the Apache DocumentRoot > > pointing to the directory containing the site and also > > I have a Tomcat Context with a blank path property and > > docBase property pointing to the same site directory. > > > > > > So, basically, I can browse the site by going to > > http://localhost:8080 using Tomcat in addition to the > > standard http://localhost address (through Apache). > > And, with mod_jk2 working, I can also hit > > http://localhost/xyz.jsp and have a .jsp page execute > > correctly. > > > > So, my question is, is this the correct way to > > configure this kind of web site? When .jsp pages are > > hit, are the images actually being loaded by Apache or > > by Tomcat? > > > > A problem I've discovered is that if I need to use a > > web.xml file in the WEB-INF directory, I can actually > > browse to the WEB-INF directory when hitting the site > > through port 80 (Apache). Obviously, this is not a > > good idea so I am thinking there is probably a better > > way to set this site up. Any ideas? > > > > Thanks, > > > > JF > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail Address AutoComplete - You start. We finish. > > http://promotions.yahoo.com/new_mail > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org