view mod_register_url.wiki @ 199:e3654b7cd4aa

Created wiki page through web user interface.
author leonbogaert@gmail.com
date Wed, 06 Jul 2011 21:23:46 +0000
parents f95cbe1ac9d8
children 147be608021e
line wrap: on
line source

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

= Introduction =

Registration Redirect as explained in IBR xep.

= Details =

This simple module, lets you redirect users who come from ips not in the registration_whitelist config options to an 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.7 should work.
0.6 works.
0.5 untested.