You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kurt Zhou <zh...@gmail.com> on 2004/10/14 03:00:40 UTC
Re: Can apache deal with static content in packed application(war ,ear) with jk2 and jboss/tomcat
But it improve some performance when I use apache2 ,jk2 with
jboss/tomcat. For a application path , I config it to be dealed with
by tomcat. for example ,"/example " ,beacause it's a packed jar . I
can't setup my path in httpd.conf.
I wonder the performance improved by apache is client request/response
time? Or there are some mechanism for apache to cache the static
contents from tomcat?
Thanks.
On Wed, 13 Oct 2004 10:08:34 -0400, Phillip Qin
<ph...@shareowner.com> wrote:
> Sure you can let Apache handle static files. Just setup httpd.conf.
>
> The problem that I have is when I deploy ROOT application in Tomcat, Apache
> is useless, any static files, cgi scripts etc. will be handled by Tomcat.
>
> -----Original Message-----
> From: Kurt Zhou [mailto:zhouxc@gmail.com]
> Sent: October 13, 2004 5:35 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Can apache deal with static content in packed application(war,ear)
> with jk2 and jboss/tomcat
>
> In jboss3.2.1-tomcat4.1.24 , deply a ear package usally cause war
> was deployed in a temporary directory,and jsp will be compiled into a
> temproray work directory. For this scenario, can the images or static html
> files be dealed with by Apache server? For a unpacked web application ,we
> can mapping the application path to apache path, for examples images path in
> web application,and we can config our servlet or jsp file to be dealed with
> by tomcat. But for a packed application, is it useful? How can we do the
> mapping for the static content in a packed application? or they are dealed
> with by tomcat and return the result to apache, and then apache response to
> the client response?
>
> Thanks
>
> ----------------------------------------
> Kurt
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
> !DSPAM:416cf6de83376299862908!
>
>
--
----------------------------------------
zhouxiaochao
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org