ejabberd-contrib/mod_muc_log_http
Badlop a380488235 Add ebin/ dirs with .keepme file to ensure Git tracks them 2013-04-15 12:18:19 +02:00
..
ebin Add ebin/ dirs with .keepme file to ensure Git tracks them 2013-04-15 12:18:19 +02:00
src Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
COPYING Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
ChangeLog Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
Emakefile Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
README.txt Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
build.bat Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
build.sh Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00

README.txt


	mod_muc_log_http - Serve MUC logs on the web

	Homepage: http://ejabberd.jabber.ru/mod_muc_log_http
	Author: Badlop
	Requirement: ejabberd SVN r1561, or ejabbed 2.1.0 when released


	DESCRIPTION
	===========

This module serves the directory containing MUC logs already
configured on mod_muc_log.  So, there's no need to setup a web server
to allow your users to view the MUC logs.  It is a small modification
of mod_http_fileserver, customized for log serving.


	CONFIGURATION
	=============

If you want to compile this module with Erlang/OTP R11B-3 or older,
edit Emakefile and remove this:
   {d, 'SSL39'},

Sample ejabberd.cfg options. The directory to serve is already defined
on mod_muc_log.

{listen,
 ...
 {5280, ejabberd_http, [http_poll, web_admin,
                        {request_handlers, [
                          {["pub", "muclogs"], mod_muc_log_http}
                         ]
                        }
                       ]
 }
 ...
]}.

{modules,
 [
  ...
  {mod_muc_log,  [
                  {outdir, "/var/www/ejabberdlogs"}
                 ]},
  {mod_muc_log_http, []},
  ...
]}.


	USAGE
	=====

With the example options, open your web browser at:
http://server:5280/pub/muclogs/