Okay... I figured this out myself after a little experimentation, and
reading more of the notes in the tomcat and cocoon archives. One of the
more confusing aspects of all this is the way that the mod_webapp works.
In your httpd.conf file (Apache), you need to add the following two
sections:
ServerName site1.mydomain.com
Port 80
WebAppConnection cx warp localhost:8008
WebAppDeploy /path/to/site1/documents cx /
<VirtualHost site2.mydomain.com>
ServerName site2.mydomain.com
Port 80
WebAppConnection cx0 warp localhost:8008
WebAppDeploy /path/to/site2/documents cx0 /
</VirtualHost>
In your server.xml file (Tomcat), you need to add the following snippets in
the <Engine>..</Engine> segment:
<Host name="site1.mydomain.com" debug="0" appBase="webapps">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="site1." suffix=".log" timestamp="true"/>
<Context path="" docBase="/path/to/site1/documents" debug="0"
reloadable="true" />
</Host>
<Host name="site2.mydomain.com" debug="0" appBase="webapps">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="site2." suffix=".log" timestamp="true"/>
<Context path="" docBase="/path/to/site2/documents" debug="0"
reloadable="true" />
</Host>
Don't forget to install the mod_webapp module and be sure to fire up tomcat
first, then the apache httpd so that the warp connector has something to
"connect to".
Rob
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>