README for Catacomb server 

1. Simple file description
  - mod_dav_repos - apache module hooker
  - repos.c      - repository interface
  - props.c      - properties interface
  - search.c     - search(DASL) interface
  - dbms.[ch]    - DBMS interface (mod_dbd)
  - util.c       - utility functions
  - version.c	 - verioning functions (DeltaV)

2. Apache 2.2.6 or later
  ./configure --enable-so --enable-dav --enable-dav-fs --enable-dbd --with-mysql=/usr

3. Configure, make make install.
  ./configure --with-apache=/usr/local/apache2 [--with-debug]
  make
  make install

4. Compile Catacomb as a static
   - Copy catacobm-xxx to $APACHE2_SRC/modules/dav/catacomb
   - cd $APACHE2_SRC/modules/dav/catacomb
   - Run configure with --with-static option
     ex : ./configure --with-apache=/usr/local/apache2 --with-static
   - cd $APACHE2_SRC
   - Run buildconf
   - Run configure --enable-dav and it will enable catacomb automatically
   - make; make install

5. Configure apache to use mod_dav_repos

Add this in httpd.conf

# This is server configure
DavDBMSTmpDir /tmp/       
[DavDBMSFileDir /usr/local/apache2/htdocs/repos/]
[DavDMBSMaxFileSize 102400]

<Location /repos>         
  DAV repos               
  ModMimeUsePathInfo on
</Location>     

DBDriver mysql
DBDParams "host=localhost,user=catacombUser,pass=catacombPass,dbname=catacomb_dbd"


The DavDBMSFileDir and DavDMBSMaxFileSize sections are optional and only if you want 
to store the resources greater than DavDMBSMaxFileSize in your filesystem.

If you want to save _all_ resources in filesystem  simply 
set DavDMBSMaxFileSize to 0.


6. Create db and tables. Import initial data [MySQL]

  - Create dbms for module:
  	> mysqladmin create repos

  - Creata tables and insert /dasl property using table.sql and data.sql
        > mysql repos < table.sql
        > mysql repos < data.sql
  
  Note: if you are going to use a Location above different than /repos you will have to
  change data.sql accordingly (see http://catacomb.tigris.org/catacomb_HOWTO.html).

7. Support BIG File with mysql-3.xx
   Give this option for safe_mysqld or add this for start script :
	--set-variable=max_allowed_packet=16M 

8. How to DEBUG apache
% gdb httpd
...
...
(gdb) b xxx_yyy_zzz
(gdb) run -X -d ..   [ if you are in apache/bin or give full path ]
(gdb) "Enjoy!!"

9. Developer mailig list : catacomb@webdav.org
    Joining the list: http://mailman.webdav.org/mailman/listinfo/catacomb