mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-16 22:05:29 +02:00
* doc/guide.tex: Removed mentions of unexistent 'hosts' modules
option (thanks to Badlop) SVN Revision: 889
This commit is contained in:
parent
5dfa6edda3
commit
e21da18c87
|
@ -1,3 +1,8 @@
|
||||||
|
2007-08-26 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
|
* doc/guide.tex: Removed mentions of unexistent 'hosts' modules
|
||||||
|
option (thanks to Badlop)
|
||||||
|
|
||||||
2007-08-25 Alexey Shchepin <alexey@process-one.net>
|
2007-08-25 Alexey Shchepin <alexey@process-one.net>
|
||||||
|
|
||||||
* src/gen_mod.erl: Substitute @HOST@ with hostname in the 'host'
|
* src/gen_mod.erl: Substitute @HOST@ with hostname in the 'host'
|
||||||
|
|
|
@ -90,10 +90,9 @@
|
||||||
\newcommand{\iqdiscitem}[1]{\titem{iqdisc} \ind{options!iqdisc}This specifies
|
\newcommand{\iqdiscitem}[1]{\titem{iqdisc} \ind{options!iqdisc}This specifies
|
||||||
the processing discipline for #1 IQ queries (see section~\ref{modiqdiscoption}).}
|
the processing discipline for #1 IQ queries (see section~\ref{modiqdiscoption}).}
|
||||||
\newcommand{\hostitem}[1]{
|
\newcommand{\hostitem}[1]{
|
||||||
\titem{hosts} \ind{options!hosts} This option defines the hostnames of the
|
\titem{host} \ind{options!host} This option defines the Jabber ID of the
|
||||||
service (see section~\ref{modhostsoption}). If neither \texttt{hosts} nor
|
service. If the \texttt{host} option is not specified, the Jabber ID will be the
|
||||||
the old \texttt{host} is present, the prefix `\jid{#1.}' is added to all
|
hostname of the virtual host with the prefix `\jid{#1.}'.
|
||||||
\ejabberd{} hostnames.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%% Title page
|
%% Title page
|
||||||
|
@ -1697,47 +1696,23 @@ Example:
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
\subsubsection{\option{hosts}}
|
\subsubsection{\option{host}}
|
||||||
\label{modhostsoption}
|
\label{modhostoption}
|
||||||
\ind{options!hosts}
|
\ind{options!host}
|
||||||
|
|
||||||
A module acting as a service can have one or more hostnames. These hostnames
|
This option defines the Jabber ID of a service provided by an ejabberd module.
|
||||||
can be defined with the \option{hosts} option.
|
|
||||||
|
|
||||||
Examples:
|
This example configures
|
||||||
\begin{itemize}
|
the \ind{modules!\modecho{}}echo module to provide its echoing service
|
||||||
\item Serving the \ind{modules!\modecho{}}echo module on one domain:
|
in the Jabber ID \jid{mirror.example.org}:
|
||||||
\begin{itemize}
|
|
||||||
\item
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
{modules,
|
{modules,
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
{mod_echo, [{hosts, ["echo.example.org"]}]},
|
{mod_echo, [{host, "mirror.example.org"}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\item Backwards compatibility with older \ejabberd{} versions can be retained
|
|
||||||
with:
|
|
||||||
\begin{verbatim}
|
|
||||||
{modules,
|
|
||||||
[
|
|
||||||
...
|
|
||||||
{mod_echo, [{host, "echo.example.org"}]},
|
|
||||||
...
|
|
||||||
]}.
|
|
||||||
\end{verbatim}
|
|
||||||
\end{itemize}
|
|
||||||
\item Serving the echo module on two domains:
|
|
||||||
\begin{verbatim}
|
|
||||||
{modules,
|
|
||||||
[
|
|
||||||
...
|
|
||||||
{mod_echo, [{hosts, ["echo.example.net", "echo.example.com"]}]},
|
|
||||||
...
|
|
||||||
]}.
|
|
||||||
\end{verbatim}
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
\subsection{\modannounce{}}
|
\subsection{\modannounce{}}
|
||||||
\label{modannounce}
|
\label{modannounce}
|
||||||
|
@ -1879,21 +1854,16 @@ Options:
|
||||||
\hostitem{echo}
|
\hostitem{echo}
|
||||||
\end{description}
|
\end{description}
|
||||||
|
|
||||||
Examples:
|
Example: Mirror, mirror, on the wall, who is the most beautiful
|
||||||
\begin{itemize}
|
|
||||||
\item Mirror, mirror, on the wall, who is the most beautiful
|
|
||||||
of them all?
|
of them all?
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
{modules,
|
{modules,
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
{mod_echo, [{hosts, ["mirror.example.org"]}]},
|
{mod_echo, [{host, "mirror.example.org"}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
\item If you still do not understand the inner workings of \modecho{},
|
|
||||||
you can find a few more examples in section~\ref{modhostsoption}.
|
|
||||||
\end{itemize}
|
|
||||||
|
|
||||||
\subsection{\modirc{}}
|
\subsection{\modirc{}}
|
||||||
\label{modirc}
|
\label{modirc}
|
||||||
|
@ -1942,10 +1912,7 @@ Examples:
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
%TODO: bug in current svn!: irc-transport.example.com will *not* show up in the
|
\item In next example the IRC transport is available with JIDs with prefix \jid{irc-t.net}.
|
||||||
% service discovery items; instead you will see irc.example.com
|
|
||||||
\item In next example the IRC transport is available on the two virtual hosts
|
|
||||||
\jid{example.net} and \jid{example.com} with different prefixes on each host.
|
|
||||||
Moreover, the transport is only accessible by paying customers registered on
|
Moreover, the transport is only accessible by paying customers registered on
|
||||||
our domains and on other servers.
|
our domains and on other servers.
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
|
@ -1960,7 +1927,7 @@ Examples:
|
||||||
[
|
[
|
||||||
...
|
...
|
||||||
{mod_irc, [{access, paying_customers},
|
{mod_irc, [{access, paying_customers},
|
||||||
{hosts, ["irc.example.net", "irc-transport.example.com"]}]},
|
{host, "irc.example.net"}]},
|
||||||
...
|
...
|
||||||
]}.
|
]}.
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
@ -2752,7 +2719,7 @@ Options:
|
||||||
\iqdiscitem{\ns{vcard-temp}}
|
\iqdiscitem{\ns{vcard-temp}}
|
||||||
\titem{search}\ind{options!search}This option specifies whether the search
|
\titem{search}\ind{options!search}This option specifies whether the search
|
||||||
functionality is enabled (value: \term{true}) or disabled (value:
|
functionality is enabled (value: \term{true}) or disabled (value:
|
||||||
\term{false}). If disabled, the option \term{hosts} will be ignored and the
|
\term{false}). If disabled, the option \term{host} will be ignored and the
|
||||||
\Jabber{} User Directory service will not appear in the Service Discovery item
|
\Jabber{} User Directory service will not appear in the Service Discovery item
|
||||||
list. The default value is \term{true}.
|
list. The default value is \term{true}.
|
||||||
\titem{matches}\ind{options!matches}With this option, the number of reported
|
\titem{matches}\ind{options!matches}With this option, the number of reported
|
||||||
|
@ -2820,7 +2787,7 @@ consists of the following \modvcardldap{}-specific options:
|
||||||
\iqdiscitem{\ns{vcard-temp}}
|
\iqdiscitem{\ns{vcard-temp}}
|
||||||
\titem{search}\ind{options!search}This option specifies whether the search
|
\titem{search}\ind{options!search}This option specifies whether the search
|
||||||
functionality is enabled (value: \term{true}) or disabled (value:
|
functionality is enabled (value: \term{true}) or disabled (value:
|
||||||
\term{false}). If disabled, the option \term{hosts} will be ignored and the
|
\term{false}). If disabled, the option \term{host} will be ignored and the
|
||||||
\Jabber{} User Directory service will not appear in the Service Discovery item
|
\Jabber{} User Directory service will not appear in the Service Discovery item
|
||||||
list. The default value is \term{true}.
|
list. The default value is \term{true}.
|
||||||
\titem{ldap\_vcard\_map}\ind{options!ldap\_vcard\_map}With this option you can
|
\titem{ldap\_vcard\_map}\ind{options!ldap\_vcard\_map}With this option you can
|
||||||
|
|
Loading…
Reference in New Issue
Block a user