<pre>
I have resin 2.0.5 working fine with apache under 10.1.3 (and had it working fine with 10.1.2 as well). Here is the procedure that I used to build mod_caucho and install it with apache:

1) Launch a terminal window and do a "sudo tcsh" to become "root" within that terminal session.

2) cd to the resin directory and do a "./configure --with-apache=/usr/local/apache". Then do a "make" and a "make install".

2a) Alternative to step 2: - cd to resin - do a "./configure; make" - cd to the resin/src/c/plugins/apache" - do a "make" and a "make install"

3) Modify the resin/conf/resin.conf file: - Comment out the <http port='80'/> line. This should only be active if Resin is being used as the web server, but we want apache to be the web server.

- Uncomment the <srun host="127.0.0.1" port='6802'/> line. This is the communication channel used by Resin to run servlets. This should only be uncommented when Resin is *not* acting as the web server.

- If using a firewall, it might be necessary to modify it to allow port 6802 through. I use TMA for this.

- Change <app-dir> point to /Library/WebServer/Documents

4) If not already done, create a script, /Library/StartupItems/Resin/Resin, with an associated .plist file that does a "resin/bin/httpd.sh start". The .plist file can be copied and modified from another one in the StartupItems folder. This causes Resin to be started when OS X starts.

Now Apache and Resin should both start every time OS X is booted.

Use http://localhost/caucho-status to check if Resin is running properly.

</pre>