view mod_register_url.wiki @ 214:a928ab41c909

mod_auth_dovecot: Add a little documentation for TCP socket support.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 17 Sep 2011 19:47:30 +0500
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