25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

* doc/guide.tex: Document ejabberd_http's

request_handlers (EJAB-372). Fixed small Latex problems.

SVN Revision: 993
This commit is contained in:
Badlop 2007-11-27 18:22:47 +00:00
parent 7ad9874dba
commit 003e7ae9a2
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-11-27 Badlop <badlop@process-one.net>
* doc/guide.tex: Document ejabberd_http's
request_handlers (EJAB-372). Fixed small Latex problems.
2007-11-27 Alexey Shchepin <alexey@process-one.net>
* src/mod_announce.erl: Bugfix (thanks to Christophe Romain)

View File

@ -336,7 +336,7 @@ when starting the Erlang/OTP virtual machine are:
Specify the ejabberd configuration file.
\titem{-ejabberd log\_path "/var/log/ejabberd/ejabberd.log"}
Specify the directory for the ejabberd.log file.
\titem{-sasl sasl\_error\_logger \{file,\"/var/log/ejabberd/sasl.log"\}}
\titem{-sasl sasl\_error\_logger \{file, "/var/log/ejabberd/sasl.log"\}}
Specify the directory for the sasl.log file.
\titem{-env ERL\_MAX\_PORTS=32000}
Allow up to 32000 connections. The default limit is just 1024.
@ -633,7 +633,7 @@ Currently next modules are implemented:
\hline \texttt{ejabberd\_http}& Description& Handles incoming HTTP
connections.\\
\cline{2-3} & Options& \texttt{certfile}, \texttt{http\_poll},
\texttt{inet6}, \texttt{ip}, \texttt{tls}, \texttt{web\_admin}\\
\texttt{inet6}, \texttt{ip}, \texttt{request\_handlers}, \texttt{tls}, \texttt{web\_admin}\\
\hline
\end{tabular}
\end{table}
@ -700,6 +700,11 @@ The following options are available:
at \verb|http://server:port/admin/|. Login and password are the username and
password of one of the registered users who are granted access by the
`configure' access rule.
\titem{\{request\_handlers, [\{Path, Module\}]\}} To define one or several handlers that will serve HTTP requests.
The Path is a list of strings; so the URIs that start with that Path will be served by Module.
For example, if you want \term{mod\_foo} to serve the URIs that start with \term{/a/b/},
and you also want \term{mod\_http\_bind} to serve the URIs \term{/http-bind/},
use this option: \term{\{request\_handlers, [\{["a", "b"], mod\_foo\}, \{["http-bind"], mod\_http\_bind\}]\}}
\titem{component\_check\_from} \ind{options!service\_check\_from}
This option can be used with \term{ejabberd\_service} only. It is
used to disable control on the from field on packets send by an