Installation, mod_voc

  1. 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)
  2. compile the daemon with mod_voc support:
    gmake MOD_VOC=1
  3. 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.
  4. configure apache. Into (Virtual)host-configblock, add something like
    <IfModule mod_voc.c>
    	<Location /vocd> 
    		SetHandler	voc-handler 
    		VocSocket		/tmp/vochat 
    	</Location>
    </IfModule>
    
    /vocd -- is the url (relative in this example) of the daemon, which you want to use
    /tmp/vochat -- is your unix-socket name (p.3)
  5. restart apache (check config with apachectl configtest and then restart with apachectl restart)
  6. configure chat, on step 2 of chat/admin/configure.php:
  7. start (or restart) the daemon.
  8. enjoy :)