aboutsummaryrefslogtreecommitdiff
path: root/doc/guide.tex
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2005-07-31 19:51:52 +0000
committerAlexey Shchepin <alexey@process-one.net>2005-07-31 19:51:52 +0000
commit081be192d3862685718cd6a1f35c5ca21eda8ca2 (patch)
tree51dbd1ec0374643a6464d22a63944fd0d08c7cbb /doc/guide.tex
parent* src/msgs/ru.msg: Updated (thanks to Sergei Golovan) (diff)
* src/ejabberd_config.erl: Added host_config option
* doc/guide.tex: Updated * src/ejabberd_auth_ldap.erl: Bugfix SVN Revision: 386
Diffstat (limited to '')
-rw-r--r--doc/guide.tex25
1 files changed, 24 insertions, 1 deletions
diff --git a/doc/guide.tex b/doc/guide.tex
index 235b26646..665a0a8c4 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -82,7 +82,7 @@ discipline (see~\ref{sec:modiqdiscoption}).}
\author{Alexey Shchepin \\
\ahrefurl{mailto:alexey@sevcom.net} \\
\ahrefurl{xmpp:aleksey@jabber.ru}}
-\date{May 23, 2005}
+\date{July 31, 2005}
\begin{document}
\begin{titlepage}
@@ -649,6 +649,29 @@ Example:
\end{verbatim}
+\subsubsection{Virtual Host Configuration}
+\label{sec:configvirtualhost}
+
+Options can be defined separately for different virtual hosts using
+\term{host\_config} option. It have the have following syntax:
+\begin{verbatim}
+ {host_config, <hostname>, [<option>, <option>, ...]}.
+\end{verbatim}
+
+Example:
+\begin{verbatim}
+{host_config, "example.org", [{auth_method, internal}]}.
+
+{host_config, "example.com", [{auth_method, ldap},
+ {ldap_servers, ["localhost"]},
+ {ldap_uidattr, "uid"},
+ {ldap_rootdn, "dc=localdomain"},
+ {ldap_rootdn, "dc=example,dc=com"},
+ {ldap_password, ""}]}.
+\end{verbatim}
+
+
+
\subsection{Online Configuration and Monitoring}
\label{sec:onlineconfig}