On Wed, Oct 22, 2003 at 11:17:17AM -0400, Brent L Johnson wrote:
> OK - does anyone have any success running Apache HTTPD with Tomcat
> using the JK2 connector with Cocoon?  Is it even worth it?  For now
> I just turned on the Http connector in Tomcat and Cocoon is working
> fine.

Have you looked at the wiki entry?
  http://wiki.cocoondev.org/Wiki.jsp?page=CocoonAndApache

> It seems as though Apache attempts to serve some files without
> consulting Cocoon's sitemap (which is expected I suppose).  Im
> guessing Cocoon needs to process every request that comes through
> or I need to make sure my directory mappings match what they
> actually are so Apache can serve the files correctly?

My understanding is that you want the JK module to send requests that
should be processed by cocoon along to it, while keeping requests that
it should handle (ie static .jpgs) to itself via your JkMount
instructions.  But that's mod_jk and not JK2.

If you have a lot of static content you might want to have a 2nd DNS
entry to handle them more easily, ie "www.example.com" and
"images.example.com" -- it could point to the same IP address and you do
some Apache virtual hosting.

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to