view mod_register_url.wiki @ 215:062ee740d924

mod_register_redirect: created wiki page.
author maranda3985@gmail.com
date Thu, 22 Sep 2011 16:57:00 +0000
parents b3095d15dd90
children
line wrap: on
line source

#summary XEP-077 IBR Registration Redirect.
#labels Stage-Beta

= Introduction =

Registration Redirect as explained in the [http://xmpp.org/extensions/xep-0077.html#redirect IBR XEP].

= Details =

This simple module lets you redirect users who come from IPs not in the registration_whitelist config options to a URL of your choice.

= Usage =

Copy the module file into your Prosody modules directory.

Then set the following options into your config file:
{{{
registration_whitelist = { "*your whitelisted web server ip address*" }
registrarion_url = "*your web registration page url*"
}}}

To not employ any whitelisting (i.e. registration is handled externally).
{{{
no_registration_whitelist = true
}}}

= Compatibility =

 * 0.8 works
 * 0.7 might not work
 * 0.6 won't work
 * 0.5 won't work