compile & install Apache with mod_voc:
There are two ways to do it: built-in module and DSO (shared module, which will be loaded by Apache if needed)
Built-in module:
configure apache, i.e.: ./configure --activate-module=/path/to/mod_voc.c compile it (make), install (make install)
Check that you have mod_voc.c in your httpd (httpd -l)
DSO module:
Check that you have apache compiled with mod_so.c module (httpd -l)
Check that you have Apache-headers (i.e. on some Linuxes if you'd installed apache from .rpm, you need to install a package 'apache-devel')
run apxs -i -a -c mod_voc.c in the directory where mod_voc.c is placed (data/daemon) -c will compile .so for you -i will install module into apache's directory -a will add 'LoadModule' directive into apache's config file
So combine flags as you need.
compile the daemon with mod_voc support: gmake MOD_VOC=1
select the name for the unix-socket which will be used for forwarding of socket-info.
For example, /tmp/vochat. If you have several chats, you need different names.
configure apache. Into (Virtual)host-configblock, add something like