Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: mod_jk/Tomcat and OSXS 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mod_jk/Tomcat and OSXS 10.4




On Oct 9, 2007, at 11:12:46, Nigel Kersten wrote:


On Oct 9, 2007, at 6:36 AM, webmaster wrote:

I have a ColdFusion engine that I would like to implement and I have examined several servlet tutorials but they all require the scripts to be placed in the Tomcat document root and this defeats virtual hosts if I have to define the script locations in Tomcat as well as apache.



I don't have time to work on a complete solution for you, but here's a hint in case you hadn't come across it.


The correct solution is to implement mod_proxy with a Tomcat virtual host that maps to an Apache virtual host. That way you're only defining the script locations once.

All implementation that I have found using mod_proxy or mod_jk_proxy require a Tomcat virtual host for every apache virtual host that you wish to implement and this is not an option for any real deployable hosting service.


If Tomcat is to be used as a viable solution it must meet the following criteria, configured for localhost with an arbitrary document root, no CF scripts will ever reside in this document root, it is used as a CF script handler and serves no other usable purpose.

The more I examine this configuration requirement the more I realize that Tomcat isn't capable of it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >mod_jk/Tomcat and OSXS 10.4 (From: webmaster <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.