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.
\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}
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{component\_check\_from} \ind{options!service\_check\_from}
+ \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
external components. The option can be either \term{true} or