Mercurial > prosody-wiki
comparison mod_regredirect.wiki @ 104:8efa9cb52f6c
mod_regredirect: Created wiki page through web user interface.
author | maranda3985 |
---|---|
date | Wed, 30 Dec 2009 00:41:19 +0000 |
parents | |
children | 9f866bc3281b |
comparison
equal
deleted
inserted
replaced
103:1100de0e9a4b | 104:8efa9cb52f6c |
---|---|
1 #summary XEP-077 IBR Registration Redirect. | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 Registration as explained in IBR xep. | |
7 | |
8 = Details = | |
9 | |
10 Self-explanatory this simple module, lets you redirect users who come from ips not in the registration_whitelist config options to an Url of your choice. | |
11 | |
12 = Usage = | |
13 | |
14 Copy the module file into your prosody modules directory. | |
15 | |
16 Then set the following options into your config file. | |
17 {{{ | |
18 registration_whitelist = { "*your whitelisted web server ip address*" } | |
19 registrarion_url = "*your web registration page url*" | |
20 }}} | |
21 | |
22 You can find an example of working web registration form using JsJaC (javascript) at the following url http://register.lightwitch.org | |
23 | |
24 = Compatibility = | |
25 | |
26 0.7 should work. | |
27 0.6 works. | |
28 0.5 untested. |