You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Troy Simpson <ch...@gmail.com> on 2005/01/07 00:19:03 UTC

How do to manage static content?

I have the following configuration:
Apache2 2.0.52
Tomcat 5.0.28
mod_jk 1.2.8

I have this directive in my httpd.conf file.

JkMount /jsp-examples/* ajp13w

1.
Does this mean that the worker ajp13w will process all content,
including static content?

2.
Or is the static content being processed by the Apache2 and the
Dynamic content being processed by Tomcat?

Thanks,
Troy

-- 
Troy Simpson
  Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How do to manage static content?

Posted by Alain Gaeremynck <ga...@interstructure.ca>.
I realize i might be a little more helpfull if i try to be a little bit 
more verbose...

the * in /jsp-examples/* tells apache to sent everything after 
/jsp-examples/ to the worker.
if you want the static content handled by apache then do something like this

JkMount /jsp-examples/*.jsp ajp13w
JkMount /jsp-examples/servlet/* ajp13w



Troy Simpson wrote:

>I have the following configuration:
>Apache2 2.0.52
>Tomcat 5.0.28
>mod_jk 1.2.8
>
>I have this directive in my httpd.conf file.
>
>JkMount /jsp-examples/* ajp13w
>
>1.
>Does this mean that the worker ajp13w will process all content,
>including static content?
>
>2.
>Or is the static content being processed by the Apache2 and the
>Dynamic content being processed by Tomcat?
>
>Thanks,
>Troy
>
>  
>

-- 
Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(514) 825-7810 cell
weblog: http://www.sanssucre.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: How do to manage static content?

Posted by Alain Gaeremynck <ga...@interstructure.ca>.
the answer is 1

what do i win?

Troy Simpson wrote:

>I have the following configuration:
>Apache2 2.0.52
>Tomcat 5.0.28
>mod_jk 1.2.8
>
>I have this directive in my httpd.conf file.
>
>JkMount /jsp-examples/* ajp13w
>
>1.
>Does this mean that the worker ajp13w will process all content,
>including static content?
>
>2.
>Or is the static content being processed by the Apache2 and the
>Dynamic content being processed by Tomcat?
>
>Thanks,
>Troy
>
>  
>

-- 
Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(514) 825-7810 cell
weblog: http://www.sanssucre.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org