mod_caucho for Resin 2.1.0 and Apache/2 2.0.36
==============================================

This archive contains the mod_caucho for integrating the Resin 2.1.0 
servlet engine (www.caucho.com) with Apache/2 2.0.36 (and maybe later). 
While it might work with earlier Resin 2.0.x releases, pre-2.0.36 versions
of Apache/2 are not supported/tested because of API changes.

Installation
------------
1) Copy caucho.dll to your Apache2/modules directory
2) Add the line
	LoadModule caucho_module modules/caucho.dll
   to the proper section of your httpd.conf
3) Add the lines
      <IfModule mod_caucho.c>
         CauchoConfigFile /resin/conf/resin.conf
         # Uncomment the following line to debug the connection setup
         <Location /caucho-status>
            SetHandler caucho-status
         </Location>
         #
         # Uncomment the following for srun connection keepalive
         # CauchoKeepalive on
         #
         # You can also configure CSE directly by commenting out CauchoConfigFile
         # and adding the following:
         #
         # CauchoHost localhost
         # CauchoPort 6802
         # AddHandler caucho-request jsp
         # <Location /servlets/*>
         #    SetHandler caucho-request
         # </Location>
      </IfModule>
    to your httd.conf and modify as needed.

Test
----
1) Start Apache/2
2) Point your browser to <your-server>/caucho-status
   You should see the Resin status page indicating that Resin is not running
3) Start Resin
4) Point your browser to or reload <your-server>/caucho-status
   The page should now indicate that Resin is running

Configuration (Test)
--------------------
1) Create the path WEB-INF\classes under your Apache document root and
   copy the *.java files from \resin-2.1.0\doc\examples\basic\WEB-INF\classes
   to this directory
2) Edit resin.conf and set "app-dir" to your Apache document root, like in
      <app-dir>/Apache2/htdocs</app-dir>
   There should be no restart of Resin required
3) Browse to <your-server>/servlet/HelloServlet 
4) Browse to <your-server>/servlet/Env
5) If the above works, configure Resin (and Apache) to your needs
5) Have fun!

Enclosed are also the files SRUN.CMD and ADD2CP.CMD which I use to set up the
environment and start Resin .

---
Max Stempfhuber
st@bonn.iz-soz.de