mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* doc/guide.tex: Described @HOST@ feature (thanks to Badlop)
SVN Revision: 890
This commit is contained in:
parent
e21da18c87
commit
0015804d97
@ -1,3 +1,7 @@
|
|||||||
|
2007-08-28 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
|
* doc/guide.tex: Described @HOST@ feature (thanks to Badlop)
|
||||||
|
|
||||||
2007-08-26 Alexey Shchepin <alexey@process-one.net>
|
2007-08-26 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
* doc/guide.tex: Removed mentions of unexistent 'hosts' modules
|
* doc/guide.tex: Removed mentions of unexistent 'hosts' modules
|
||||||
|
@ -92,7 +92,8 @@ the processing discipline for #1 IQ queries (see section~\ref{modiqdiscoption}).
|
|||||||
\newcommand{\hostitem}[1]{
|
\newcommand{\hostitem}[1]{
|
||||||
\titem{host} \ind{options!host} This option defines the Jabber ID of the
|
\titem{host} \ind{options!host} This option defines the Jabber ID of the
|
||||||
service. If the \texttt{host} option is not specified, the Jabber ID will be the
|
service. If the \texttt{host} option is not specified, the Jabber ID will be the
|
||||||
hostname of the virtual host with the prefix `\jid{#1.}'.
|
hostname of the virtual host with the prefix `\jid{#1.}'. The keyword "@HOST@"
|
||||||
|
is replaced at start time with the real virtual host name.
|
||||||
}
|
}
|
||||||
|
|
||||||
%% Title page
|
%% Title page
|
||||||
@ -1701,6 +1702,7 @@ Example:
|
|||||||
\ind{options!host}
|
\ind{options!host}
|
||||||
|
|
||||||
This option defines the Jabber ID of a service provided by an ejabberd module.
|
This option defines the Jabber ID of a service provided by an ejabberd module.
|
||||||
|
The keyword "@HOST@" is replaced at start time with the real virtual host string.
|
||||||
|
|
||||||
This example configures
|
This example configures
|
||||||
the \ind{modules!\modecho{}}echo module to provide its echoing service
|
the \ind{modules!\modecho{}}echo module to provide its echoing service
|
||||||
@ -1714,6 +1716,17 @@ in the Jabber ID \jid{mirror.example.org}:
|
|||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
|
However, if there are several virtual hosts and this module is enabled in all of them,
|
||||||
|
the "@HOST@" keyword must be used:
|
||||||
|
\begin{verbatim}
|
||||||
|
{modules,
|
||||||
|
[
|
||||||
|
...
|
||||||
|
{mod_echo, [{host, "mirror.@HOST@"}]},
|
||||||
|
...
|
||||||
|
]}.
|
||||||
|
\end{verbatim}
|
||||||
|
|
||||||
\subsection{\modannounce{}}
|
\subsection{\modannounce{}}
|
||||||
\label{modannounce}
|
\label{modannounce}
|
||||||
\ind{modules!\modannounce{}}\ind{MOTD}\ind{message of the day}\ind{announcements}
|
\ind{modules!\modannounce{}}\ind{MOTD}\ind{message of the day}\ind{announcements}
|
||||||
|
Loading…
Reference in New Issue
Block a user