changeset 164:5417e7610ad4

mod_srvinjection: Update docs for wildcard host support.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 09 Feb 2011 16:37:51 +0500
parents 85482789e90e
children 44f9d6dae0cc
files mod_srvinjection.wiki
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_srvinjection.wiki	Fri Dec 24 11:43:02 2010 +0500
+++ b/mod_srvinjection.wiki	Wed Feb 09 16:37:51 2011 +0500
@@ -19,6 +19,11 @@
 
 The format for individual items is `["remote-hostname"] = {"srv-hostname", srv-port};`.
 
+The special remote hostname "*" can be used as a wildcard:
+{{{
+	srvinjection = { ["*"] = {"xmpp-server.l.google.com", 5269} } -- Use Google's XMPP server for all hostnames
+}}}
+
 = Reloading =
 The module can be reloaded via the telnet console. Edit the config file to make any updates.