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 23971 invoked from network); 13 Jun 2000 20:03:52 -0000 Received: from hamilton.hamsoft.com (HELO mail.hamsoft.com) (209.204.163.5) by locus.apache.org with SMTP; 13 Jun 2000 20:03:52 -0000 Received: by mail.hamsoft.com from localhost (router,SLMail V3.2); Tue, 13 Jun 2000 13:03:46 -0700 Received: by mail.hamsoft.com from stevep (209.204.163.42::mail daemon; unverified,SLMail V3.2); Tue, 13 Jun 2000 13:03:45 -0700 Message-ID: <03aa01bfd572$7a849300$2aa3ccd1@stevep> From: "Steven Punte" To: , References: Subject: Re: HELP: GETTING DESPERATE: Virtual Hosting and Static Files: How? Date: Tue, 13 Jun 2000 13:03:44 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-SLUIDL: B3A1D464-40B011D4-92370060-082FFF99 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Doug: I TOO have the constructs you show below in my global area. Can these be directly added to a ... scope area? Do you have an example? Thanks in advance: Steve Punte ----- Original Message ----- From: Doug Pedley To: Sent: Tuesday, June 13, 2000 11:06 AM Subject: RE: HELP: GETTING DESPERATE: Virtual Hosting and Static Files: How? > > # I have it setup like this: > # You add the handler for the jsp type and set the port/protocol separately. > > ApJServManual on > ApJServDefaultProtocol ajpv12 > ApJServDefaultPort 8503 > > AddType test/jsp .jsp > AddHandler jserv-servlet .jsp > > > > > Thanks for the reply: > > > > Is it possible for me to specify something like: > > > > ApJServMount /*.jsp ajpv12://localhost:8503 > > > > To route ONLY jsp files to tomcat? Of course > > I would also need some syntax to route servlets > > too. > > > > Steve > > > > > > From: Jan Labanowski > > To: > > Cc: Jan Labanowski > > Sent: Tuesday, June 13, 2000 10:38 AM > > Subject: Re: HELP: GETTING DESPERATE: Virtual Hosting and Static > > Files: How? > > > > > > > But you see, you are getting exactly what you ask for. The line: > > > > > > ApJServMount / ajpv12://localhost:8503 > > > > > > means: > > > > > > Take everything which follows host/port specification in the URL, e.g;, > > > > > > http://my.machine.com:1234/dir/subdir/page.html > > > > > > the: > > > > > > /dir/subdir/page.html > > > > > > and give it to Tomcat. If you had: > > > > > > ApJServMount /dir ajpv12://localhost:8503 > > > > > > then only stuff with/under /dir in the URL was passed to Tomcat, > > > and all other stuff would be handled by Apache, but with bare "/" you > > instruct > > > Apache to forward everything to Tomcat... > > > > > > Jan > > > jkl@osc.edu > > > > > > > > > > > > On Tue, 13 Jun 2000, Steven Punte wrote: > > > > > > > > > > > > > > > Dear Tomcat Community: > > > > > > > > I have successfully achieve virtual hosting with tomcat + apache > > > > according to the user documentation. > > > > > > > > However, It really seems like ALL static pages are now > > > > being severed through tomcat and apache instead > > > > of simply apache alone. This wasn't the case before > > > > I started using virtual hosting. > > > > > > > > My virtual host entry is below. > > > > > > > > Has anyone seen this issue and found a solution? > > > > > > > > Thanks in advance. > > > > > > > > > > > > > > > > ServerName cabo.hamsoft.com > > > > ApJServMount / ajpv12://localhost:8503 > > > > ServerAdmin stevep@technologent.com > > > > DocumentRoot /var/webrooms/resortbase > > > > ServerName webhost0.hamsoft.com > > > > > > > > > > > > > > > > PS: > > > > Kevin Bedell posted a potential solution, but it requires each > > > > application to be adjust. I'm looking for a generic solution > > > > where such an adjustment is not necessary. > > > > > > > > > > > > STeve Punte > > > > e-Business Software Architect > > > > Technologent Inc > > > > stevep@technologent.com > > > > > > > > > > Jan K. Labanowski | phone: 614-292-9279, FAX: > > 614-292-7168 > > > Ohio Supercomputer Center | Internet: jkl@osc.edu > > > 1224 Kinnear Rd, | http://www.ccl.net/chemistry.html > > > Columbus, OH 43212-1163 | http://www.osc.edu/ > > > > > > > > > > > -------------------------------------------------------------------------- > > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > > > For additional commmands, email: tomcat-user-help@jakarta.apache.org > > > > > > -------------------------------------------------------------------------- > > To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org > > For additional commmands, email: tomcat-user-help@jakarta.apache.org > >