Mercurial > prosody-wiki
annotate mod_register_redirect.wiki @ 215:062ee740d924
mod_register_redirect: created wiki page.
author | maranda3985@gmail.com |
---|---|
date | Thu, 22 Sep 2011 16:57:00 +0000 |
parents | |
children | 1203d8b8a8a2 |
rev | line source |
---|---|
215
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
1 #summary XEP-077 IBR Registration Redirect. |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
2 #labels Stage-Stable |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
3 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
4 = Introduction = |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
5 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
6 Registration Redirect as explained in the [http://xmpp.org/extensions/xep-0077.html#redirect IBR XEP]. |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
7 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
8 = Details = |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
9 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
10 This module shows instructions on how to register to the server, should it be necessary to perform it through other means Out-Of-Band or not, and also let's registrations origining from ip addresses in the whitelist to go through normally. |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
11 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
12 = Usage = |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
13 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
14 Copy the module file into your Prosody modules directory. |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
15 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
16 Then set the following options into your config file: |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
17 {{{ |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
18 registration_whitelist = { "*your whitelisted web server ip address*" } |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
19 registrarion_url = "*your web registration page url*" |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
20 registration_text = "Your custom instructions banner here" |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
21 registration_oob = true (default) or false, in the case there's no applicable OOB method (e.g. the server admins needs to be contacted by phone) |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
22 }}} |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
23 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
24 To not employ any whitelisting (i.e. registration is handled externally). |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
25 {{{ |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
26 no_registration_whitelist = true |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
27 }}} |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
28 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
29 = Compatibility = |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
30 |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
31 * 0.8 works |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
32 * 0.7 might not work |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
33 * 0.6 won't work |
062ee740d924
mod_register_redirect: created wiki page.
maranda3985@gmail.com
parents:
diff
changeset
|
34 * 0.5 won't work |