view mod_register_url.wiki @ 106:73b69658aefe

Renamed mod_regredirect wiki to reflect name change. (mod_register_url)
author Marco Cirillo <maranda@lightwitch.org>
date Wed, 30 Dec 2009 15:58:53 +0000
parents mod_regredirect.wiki@9f866bc3281b
children 799524731e7a
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*"
}}}

You can find an example of working web registration form using JsJaC (javascript) at the following url http://register.lightwitch.org

= Compatibility =

0.7 should work.
0.6 works.
0.5 untested.