Mercurial > prosody-wiki
comparison mod_admin_web.wiki @ 297:f50173b0d169
Update config for timber
author | MWild1@gmail.com |
---|---|
date | Fri, 03 Aug 2012 13:02:26 +0000 |
parents | 0541b8aba1f8 |
children | da79793316ff |
comparison
equal
deleted
inserted
replaced
296:fc11f3985d9b | 297:f50173b0d169 |
---|---|
1 #summary Web administration interface | 1 #summary Web administration interface |
2 #labels Stage-Beta | 2 #labels Stage-Beta |
3 = Introduction = | 3 = Introduction = |
4 | 4 |
5 This module provides a very basic web administration interface. | 5 This module provides a basic web administration interface. |
6 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. | 6 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. |
7 | |
8 | |
9 = Installation = | |
10 | |
11 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. | |
12 | 7 |
13 = Configuration Details = | 8 = Configuration Details = |
14 | 9 |
15 "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. | 10 "admin_web" needs to be added to the modules_enabled table of the host you want to load this module on. |
16 By default the interface will then be reachable under `http://example.com:5280/admin`. | 11 |
12 By default the interface will then be reachable under `http://example.com:5280/admin`, and also `https://example.com:5281/admin`. | |
13 | |
14 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). | |
15 | |
17 {{{ | 16 {{{ |
18 Host "example.com" | 17 VirtualHost "example.com" |
19 modules_enabled = { | 18 modules_enabled = { |
20 ..... | 19 ..... |
21 "admin_web"; | 20 "admin_web"; |
21 "bosh"; -- Required, auto-loaded in 0.9 | |
22 "admin_adhoc"; -- Required, auto-loaded in 0.9 | |
22 ..... | 23 ..... |
23 } | 24 } |
24 | |
25 webadmin_http_ports = { 8080 }; | |
26 }}} | 25 }}} |
27 | 26 |
28 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. | |
29 | |
30 = Compatibility = | 27 = Compatibility = |
31 ||To be 0.9||Works|| | 28 ||trunk||Works|| |
29 ||0.9||Works|| |