cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert J. Lebowitz" <>
Subject Re: Configuration for virtual hosts using Apache 1.3.x, Tomcat 4 and Cocoon 2
Date Tue, 13 Nov 2001 12:43:42 GMT
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

Port 80
WebAppConnection cx warp localhost:8008
WebAppDeploy /path/to/site1/documents  cx  /

   Port 80
   WebAppConnection cx0 warp localhost:8008
   WebAppDeploy /path/to/site2/documents cx0 /

In your server.xml file (Tomcat), you need to add the following snippets in
the <Engine>..</Engine> segment:

<Host name="" 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 name="" 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" />


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".


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message