view mod_admin_web/README.markdown @ 4575:5b4f43b90766

mod_measure_malloc: port to most recent trunk statistics API
author Jonas Schäfer <>
date Tue, 25 May 2021 19:01:54 +0200
parents fcc6b92869d4
children f649305d0bec
line wrap: on
line source

- 'Stage-Beta'
summary: Web administration interface
        type: command
        build_command: cd admin_web; sh
        install_command: |
          cd admin_web;
          cp mod_admin_web.lua $(LUADIR);
          cp -r www_files $(PREFIX);


This module provides a basic web administration interface. It currently
gives you access to Ad-Hoc commands on any virtual host or component
that you are set as an administrator for in the Prosody config file. It
also provides a live list of all S2S and C2S connections.


1.  Copy the admin\_web directory into a directory Prosody will check
    for plugins. (cf. [Installing
2.  Execute the contained get\ script from within the admin\_web
    directory. (Requires wget, tar, and a basic shell)

Configuration Details

"admin\_web" needs to be added to the modules\_enabled table of the host
you want to load this module on.

By default the interface will then be reachable under
``, or ``.

The module will automatically enable two other modules if they aren't
already: mod\_bosh (used to connect to the server from the web), and
mod\_admin\_adhoc (which provides admin commands over XMPP).

    VirtualHost ""
       modules_enabled = {


  --------- ---------------
  trunk     Works
  0.9       Works
  \<= 0.8   Not supported
  --------- ---------------