# HG changeset patch # User maranda3985 # Date 1262133679 0 # Node ID 8efa9cb52f6cfad94a7839a743eccacf14326ed8 # Parent 1100de0e9a4ba65b95f5851e87ecf75b2fc3542a mod_regredirect: Created wiki page through web user interface. diff -r 1100de0e9a4b -r 8efa9cb52f6c mod_regredirect.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_regredirect.wiki Wed Dec 30 00:41:19 2009 +0000 @@ -0,0 +1,28 @@ +#summary XEP-077 IBR Registration Redirect. +#labels Stage-Beta + += Introduction = + +Registration as explained in IBR xep. + += Details = + +Self-explanatory 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. \ No newline at end of file