Hi,
On 24 Sep 2004, at 16:42, Richard Lewis wrote:
I've got two Cocoon (2.1) webapps running under Tomcat (4.1) on my server (Debian, j2sdk1.4-sun, Apache 2.0). My network service provided has given me two aliases for the machine which I want to point to the two webapps.
For shame, Richard, for shame. This is not the cocoon-users mailing list, you know ;-)
First question: any particular reason for using Tomcat? C2.1 ships with the excellent Jetty, which blows Tomcat out of the water (or rather, Tomcat usually blows itself out the water when it crashes, and Jetty just sits by and laughs).
As I understand it, I can use virtual hosting and mod_proxy with Apache to re-direct requests which use these two aliases to the webapps running on port 8080.
Correct.
http://wiki.apache.org/cocoon/ApacheModProxy
apache2/sites-enabled directory:
cursus.uea.ac.uk -> ../sites-available/cursus.uea.ac.uk studios.uea.ac.uk -> ../sites-available/studios.uea.ac.uk ==============================================================
Oh heck. These are on my to-do list. Oops.
If anyone could help me I would be very grateful indeed as I've been puzzeling over this for days and really can't think of anything else that might sort the problem.
Dump Tomcat, run both sites through Jetty (you really -don't- want to run two Cocoon instances, look at mount-table.xml for the quickest way to mangle your Cocoon urlspace safely. Follow the wiki docs, they are very good.
A.