Mercurial > prosody-wiki
changeset 297:f50173b0d169
Update config for timber
author | MWild1@gmail.com |
---|---|
date | Fri, 03 Aug 2012 13:02:26 +0000 |
parents | fc11f3985d9b |
children | 1fee37709cda |
files | mod_admin_web.wiki |
diffstat | 1 files changed, 13 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_admin_web.wiki Wed Aug 01 16:14:29 2012 +0200 +++ b/mod_admin_web.wiki Fri Aug 03 13:02:26 2012 +0000 @@ -2,30 +2,28 @@ #labels Stage-Beta = Introduction = -This module provides a very basic web administration interface. -It currently gives you access to Ad-Hoc commands on any virtual host you are administrator for. It also provides a live list of all S2S and C2S connections. - - -= Installation = - -Copy the admin_web directory into prosody's plugin directory and execute the contained get_deps.sh script. This will require wget, tar, make and a basic shell. +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. = Configuration Details = -"admin_web" needs to be added to the modules_enabled table of the host you want to load this module on. The port can optionally be specified with the webadmin_http_ports option. -By default the interface will then be reachable under `http://example.com:5280/admin`. +"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 `http://example.com:5280/admin`, and also `https://example.com:5281/admin`. + +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). + {{{ -Host "example.com" +VirtualHost "example.com" modules_enabled = { ..... "admin_web"; + "bosh"; -- Required, auto-loaded in 0.9 + "admin_adhoc"; -- Required, auto-loaded in 0.9 ..... } - - webadmin_http_ports = { 8080 }; }}} -The webadmin_http_ports supports the same syntax and options as [http://prosody.im/doc/setting_up_bosh#configuring mod_bosh], to allow HTTPS for example. - = Compatibility = -||To be 0.9||Works|| \ No newline at end of file +||trunk||Works|| +||0.9||Works|| \ No newline at end of file