Mercurial > prosody-wiki
comparison mod_register_url.wiki @ 204:b3095d15dd90
mod_register_url: A little cleanup for the docs.
author | waqas20 |
---|---|
date | Fri, 02 Sep 2011 08:11:29 +0000 |
parents | f8855feada6f |
children |
comparison
equal
deleted
inserted
replaced
203:f8855feada6f | 204:b3095d15dd90 |
---|---|
1 #summary XEP-077 IBR Registration Redirect. | 1 #summary XEP-077 IBR Registration Redirect. |
2 #labels Stage-Beta | 2 #labels Stage-Beta |
3 | 3 |
4 = Introduction = | 4 = Introduction = |
5 | 5 |
6 Registration Redirect as explained in IBR xep. | 6 Registration Redirect as explained in the [http://xmpp.org/extensions/xep-0077.html#redirect IBR XEP]. |
7 | 7 |
8 = Details = | 8 = Details = |
9 | 9 |
10 This simple module, lets you redirect users who come from ips not in the registration_whitelist config options to an Url of your choice. | 10 This simple module lets you redirect users who come from IPs not in the registration_whitelist config options to a URL of your choice. |
11 | 11 |
12 = Usage = | 12 = Usage = |
13 | 13 |
14 Copy the module file into your prosody modules directory. | 14 Copy the module file into your Prosody modules directory. |
15 | 15 |
16 Then set the following options into your config file. | 16 Then set the following options into your config file: |
17 {{{ | 17 {{{ |
18 registration_whitelist = { "*your whitelisted web server ip address*" } | 18 registration_whitelist = { "*your whitelisted web server ip address*" } |
19 registrarion_url = "*your web registration page url*" | 19 registrarion_url = "*your web registration page url*" |
20 }}} | 20 }}} |
21 | 21 |
24 no_registration_whitelist = true | 24 no_registration_whitelist = true |
25 }}} | 25 }}} |
26 | 26 |
27 = Compatibility = | 27 = Compatibility = |
28 | 28 |
29 0.8 works. | 29 * 0.8 works |
30 | 30 * 0.7 might not work |
31 0.7 might not work. | 31 * 0.6 won't work |
32 | 32 * 0.5 won't work |
33 0.6 won't work. | |
34 | |
35 0.5 won't work. |