25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Document the option route_subdomains in the Guide (EJAB-1164)

SVN Revision: 2907
This commit is contained in:
Badlop 2010-01-16 14:34:31 +00:00
parent 86794b1d23
commit b6aa6d6f09
2 changed files with 10 additions and 0 deletions

View File

@ -839,6 +839,11 @@ If the option is not specified for an <TT>ejabberd_service</TT> listener,
the globally configured value is used.
The allowed values are integers and &#X2019;undefined&#X2019;.
Default value: &#X2019;undefined&#X2019;.
</DD><DT CLASS="dt-description"><B><TT>{route_subdomains, local|s2s}</TT></B></DT><DD CLASS="dd-description">
Defines if ejabberd must route stanzas directed to subdomains locally (compliant with
<A HREF="http://xmpp.org/rfcs/rfc3920.html#rules.subdomain">RFC 3920: XMPP Core</A>),
or to foreign server using S2S (compliant with
<A HREF="http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09#section-11.3">RFC 3920 bis</A>).
</DD></DL><P> <A NAME="listened-examples"></A> </P><!--TOC subsubsection Examples-->
<H4 CLASS="subsubsection"><!--SEC ANCHOR --><A HREF="#listened-examples">Examples</A></H4><!--SEC END --><P> <A NAME="listened-examples"></A> </P><P>For example, the following simple configuration defines:
</P><UL CLASS="itemize"><LI CLASS="li-itemize">

View File

@ -987,6 +987,11 @@ There are some additional global options that can be specified in the ejabberd c
the globally configured value is used.
The allowed values are integers and 'undefined'.
Default value: 'undefined'.
\titem{\{route\_subdomains, local|s2s\}}
Defines if ejabberd must route stanzas directed to subdomains locally (compliant with
\footahref{http://xmpp.org/rfcs/rfc3920.html\#rules.subdomain}{RFC 3920: XMPP Core}),
or to foreign server using S2S (compliant with
\footahref{http://tools.ietf.org/html/draft-saintandre-rfc3920bis-09\#section-11.3}{RFC 3920 bis}).
\end{description}
\makesubsubsection{listened-examples}{Examples}