ejabberd-contrib/mod_muc_log_http
Badlop 04f4489427 Convert modules README.txt to markdown syntax 2022-08-12 10:45:09 +02:00
..
conf Enable some modules when installed, if they work with reasonable default config 2022-07-26 15:41:21 +02:00
src Add mod_status/0 to show its current status in WebAdmin 2022-07-26 15:41:23 +02:00
COPYING Update FSF address (solves #73) 2015-02-25 15:17:31 +01:00
ChangeLog Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00
README.md Convert modules README.txt to markdown syntax 2022-08-12 10:45:09 +02:00
mod_muc_log_http.spec Cleanup for module packaging support in ejabberd 2015-03-11 14:19:35 +01:00

README.md

mod_muc_log_http - Serve MUC logs on the web

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

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

listen:
  -
    port: 5282
    module: ejabberd_http
    request_handlers:
      /muclogs: mod_muc_log_http

modules:
  mod_muc_log:
    outdir: "/tmp/muclogs"
  mod_muc_log_http: {}

With that example configuration, open your web browser at: http://server:5282/muclogs/