comparison mod_register_json.wiki @ 278:41d03be9ac76

updated wiki.
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 26 May 2012 02:59:31 +0000
parents 08744edfffba
children 980a177b8a19
comparison
equal deleted inserted replaced
277:7a597092e71f 278:41d03be9ac76
29 29
30 Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform. 30 Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform.
31 31
32 Optional configuration directives: 32 Optional configuration directives:
33 <code language="lua"> 33 <code language="lua">
34 reg_servlet_base = "/base-path/" -- Base path of the plugin
34 reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm. 35 reg_servlet_realm = "Your Realm Name of choice" -- Modifies the name of the authentication realm.
35 reg_servlet_ttime = seconds -- Specifies the time (in seconds) between each request coming from the same remote address. 36 reg_servlet_ttime = seconds -- Specifies the time (in seconds) between each request coming from the same remote address.
36 reg_servlet_bl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be blacklisted and will not be able to submit registrations. 37 reg_servlet_bl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be blacklisted and will not be able to submit registrations.
37 reg_servlet_wl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be ignored by the throttling. 38 reg_servlet_wl = { "1.2.3.4", "4.3.2.1" } -- The ip addresses in this list will be ignored by the throttling.
38 </code> 39 </code>