I found that using mod_proxy was a lot easier than using mod_jk. I have updated the wiki pages detailing the correct settings. Mod_proxy lets you redirect to any server, not just Tomcat. It also lets you rewrite your URLs to better hide things. However, I was not able to remove everything. My resulting URLs look like http://www.yourdomain.com/public.
Bill Berks James Reynolds wrote: > I have spent the last few days (days!!) trying to get Apache and > mod_jk to work with Tomcat. I've finally gotten it to work, but it > doesn't do what I want. I've updated the wiki page with everything I > know (and some things I don't). > > http://www.magnolia.info/wiki/Wiki.jsp?page=RunningMagnoliaWithApache > > My questions are: > - What is a worker? I know what the Tomcat docs call it, and I think > that means I only need one unless I have Magnolia running on 2 > different servers and I want to make them accessible on the same server. > - What should the name of a worker be? > - Is there anyway to remove the context from the path using mod_jk and > virtual hosts? For example, can I change: > > www.example.com/magnoliaPublic > www.example.com/magnoliaAuthor > > to > > www.example.com (public) > author.example.com (author) > > That is what I really want and what I've done so far isn't getting me > that. > > -- > > Thanks, > > James Reynolds - University of Utah - Student Computing Labs - > 801-585-9811 > james(a)scl.utah.edu - james(a)magnusviri.com - > http://james.magnusviri.com > > > > ---------------------------------------------------------------- > for list details see > http://www.magnolia.info/en/magnolia/developer.html > ---------------------------------------------------------------- > ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
