ejabberd-contrib/mod_muc_log_http
Badlop b607d97331 Make mod_muc_log_http redirect to page that end with / (processone/ejabberd#3177)
Code copied from ejabberd_web_admin.erl, commit 5ec21438
2023-04-27 17:35:01 +02:00
..
conf Enable some modules when installed, if they work with reasonable default config 2022-07-26 15:41:21 +02:00
src Make mod_muc_log_http redirect to page that end with / (processone/ejabberd#3177) 2023-04-27 17:35:01 +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 Reword modules documentation to reflect the usage of local configuration files 2022-08-12 10:52:20 +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

This module has no configurable options, simply enable it.

Example Configuration

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/