mod_webapp notes

to get the mod_webapp apache module working with imho/web-co:

- make sure apache-dev and libdb2-dev are installed

- run make in imho/apache/ to create the mod_webapp.so binary.
   this will make the binary in imho/apache/apache-1.3/ 
   
- move or copy mod_webapp.so to /usr/lib/apache/1.3/

- add the following line to httpd.conf: 
LoadModule webapp_module  /usr/lib/apache/1.3/mod_webapp.so

- add the following directives to httpd.conf:
<IfModule mod_webapp.c>
  WebAppConnection wco warp 127.0.0.1:[port]
  # WebAppMount <connection name> <app name> <mount point>
  WebAppMount wco wco [mount-point]
</IfModule>

where [port] is whatever port you want webcheckout to run on
(i.e. 8007) and where [mount-point] is the imho mount point at which
the wco application will appear (i.e. /imho/).]

- restart apache, start webco, everything should be hunky-dory.

multiple connections:

you can run multiple applications from a single WebAppConnection by using
a new WebAppMount for each applciation, as below...

<IfModule mod_webapp.c>
  WebAppConnection wco_conn warp 127.0.0.1:8666
  
  # localhost/imho/wco/
  WebAppMount wco wco_conn /imho/
  
  # localhost/sg/silly-game/
  WebAppMount silly-game wco_conn /sg/
</IfModule>

i'm not sure exactly what the nature of each argument is, i discovered
this by trial and error.  but it works fine on my box.  obviously,
WebAppConnection binds to a port, and WebAppMount binds an application to
an imaginary directory/sub-directory just like Jserv ... perhaps jesse
or lee could expound more since they have explored the source code.