We experienced a similar problem. Our solution was to place the static
pages in the document root .../www/html while having the webapp utilize
something like /webapp/
Using paths such as /images to serve up graphics and such, Apache serves the
static, while only passing anything with a /webapp/ url to Tomcat. Not the
prettiest of solutions, but it seemed the simpliest.
Paul Devisser
----- Original Message -----
From: "Bob Byron" <bbyron@radit.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, November 09, 2001 2:54 PM
Subject: Re: Apache, Tomcat, mod_webapp and Static files
> I still would like to know how to have Apache handle the static
> files while Tomcat handles the dynamic ones.
>
> Bob
> ----- Original Message -----
> From: "Bob Byron" <javamug@radit.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Thursday, November 08, 2001 5:47 PM
> Subject: Apache, Tomcat, mod_webapp and Static files
>
>
> > I have Apache configured to delivier a number
> > of websites using the VirtualHost. I have since
> > added a webapp to one site using the
> > WebAppDeploy directive. Problem is that
> > all files are now delivered from Tomcat. Is
> > there a gude somewhere on how to have
> > Apache deliver the static files and have Tomcat
> > deliver the jsp's?
> >
> > Thanks,
> > Bob Byron
> >
> >
> > --
> > To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>
> --
> To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
--
To unsubscribe: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|