Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
Hi, I am trying to serve up some of our static content through Apache instead of Tomcat I am using apache 2.049 and Tomcat 5.025 with mod_jk 1.2.5 Lets say in tomcat I have a directory serving up static html called staticserve. I reach it through www.mydomain.ca/staticserve/index.html I

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 11:26:52AM -0300, James Sherwood wrote: : VirtualHost * : ServerAdmin [EMAIL PROTECTED] : DocumentRoot %pathtoapache%/htdocs/staticserve : ServerName mydomain.ca : JKMount /* ajp13 : ErrorLog mylog.log : /VirtualHost : : My problem is that apache is not

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
up static content through apache using mod_jk On Thu, Jun 03, 2004 at 11:26:52AM -0300, James Sherwood wrote: : VirtualHost * : ServerAdmin [EMAIL PROTECTED] : DocumentRoot %pathtoapache%/htdocs/staticserve : ServerName mydomain.ca : JKMount /* ajp13 : ErrorLog

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread QM
On Thu, Jun 03, 2004 at 11:52:11AM -0300, James Sherwood wrote: : If the JKMount /* ajp13 passes everything to the jk handler, is there a way : route everything : but /staticserve directory to the jk handler? I've never done that, so I wouldn't know. I prefer the opposite approach: have a

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread James Sherwood
, 2004 11:50 AM Subject: Re: Serving up static content through apache using mod_jk On Thu, Jun 03, 2004 at 11:52:11AM -0300, James Sherwood wrote: : If the JKMount /* ajp13 passes everything to the jk handler, is there a way : route everything : but /staticserve directory to the jk handler

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Shapira, Yoav
[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:50 AM Subject: Re: Serving up static content through apache using mod_jk On Thu, Jun 03, 2004 at 11:52:11AM -0300, James Sherwood wrote: : If the JKMount /* ajp13 passes everything to the jk handler, is there a way : route everything

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Varley, Roger
Hi, As always, consider using tomcat standalone for all your traffic, static and dynamic. This is the third time I have heard this piece of advice recently. When I started off with Tomcat back in the 3.x days the recommendation was always to run Tomcat for the dynamic servlet/jsp stuff

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Shapira, Yoav
Hi, This is the third time I have heard this piece of advice recently. When I started off with Tomcat back in the 3.x days the recommendation was always to run Tomcat for the dynamic servlet/jsp stuff and a real web server (Apache/IIS) for the static content. Yes: those days are long gone. Are

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread Mark Lowe
I believe that the built in http server is good enough in some cases yes. Likewise resin's. for an intra net or predictable amount of users would work fine. The advantages of load balancing the static content from the java stuff takes some work out of catalina's hands but also means with

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread Oscar Serrano
I had the same problem, many directories full of servlet. I didn't wanted to put so many JkMount directives. so I created a directory named servlets and I put all my directories under that directory. Then, in httpd.con I only have to put a JkMount directive to this /servlets directory. Though

RE: Serving up static content through apache using mod_jk

2004-06-03 Thread Cox, Charlie
PROTECTED] Sent: Thursday, June 03, 2004 11:08 AM To: Tomcat Users List Subject: Re: Serving up static content through apache using mod_jk Yes but in my case I have a ton of directories that are dynamically changed so I want everything served through tomcat except some static stuff in one directory