view 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
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