Posted by
Walter Vaughan on
Aug 31, 2006; 2:41am
URL: http://ofbiz.116.s1.nabble.com/mod-jk2-multi-site-config-tp141567p141568.html
Daniel Kunkel wrote:
> I'm a bit confused trying to get multiple sites up and running using
> mod_jk2 and not the reasonably well documented mod_jk.
Well I was confused a first why you were looking at mod_jk2 since *I* thought it
had been depreciated since 2003. On the other hand, since Apache 2.2 is
production quality, you may want to start googling on mod_proxy_ajp, since it
appears to be the way of the future.
From
http://rimuhosting.com/mod_jk2.jsp ...
<quote>
Apache 2.2, FC5, mod_proxy and 'Where is mod_jk2'?
Apache 2.2 introduces a mod_proxy_ajp module. It is available in some newer
distros, e.g. FC5. This module pretty much deprecates the need for mod_jk2.
Instead of having the Location tags with mod_jk2 in Apache you would put a
directive like this inside your VirtualHost definition:
ProxyPass /tomcat ajp://127.0.0.1:8009
This will forward all requests to
http://yourip/tomcat to tomcat's ROOT webapp.
Or you could use:
ProxyPass /tomcat ajp://127.0.0.1:8009/jsp-examples
</quote>
On the otherhand setting up mod_jk2 shouldn't be that much different from the
instructions I gave on the old wiki site...
--
Walter