-
Notifications
You must be signed in to change notification settings - Fork 909
/
prefix_route_params.xml
64 lines (59 loc) · 1.54 KB
/
prefix_route_params.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<section id="prefixroute.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Parameters</title>
<section id="prefixroute.db_url">
<title><varname>db_url</varname> (string)</title>
<para>
This is <acronym>URL</acronym> of the database to be used.
</para>
<para>
Default value is "mysql://ser@localhost/ser"
</para>
<example>
<title>Setting db_url parameter</title>
<programlisting>
...
modparam("prefix_route", "db_url", "mysql://ser:pass@db_host/ser")
...
</programlisting>
</example>
</section>
<section id="prefixroute.db_table">
<title><varname>db_table</varname> (string)</title>
<para>
The name of table where to read prefix route set.
</para>
<para>
Default value is "prefix_route".
</para>
<example>
<title>Setting db_table parameter</title>
<programlisting>
...
modparam("prefix_route", "db_table", "new_prefix_route")
...
</programlisting>
</example>
</section>
<section id="prefixroute.exit">
<title><varname>exit</varname> (int)</title>
<para>
If set, exit the execution of the configuration file
when a route block is executed upon matching a prefix.
Otherwise return 1 (true).
</para>
<para>
Default value is 1 (on).
</para>
<example>
<title>Setting exit parameter</title>
<programlisting>
...
modparam("prefix_route", "exit", 0)
...
</programlisting>
</example>
</section>
</section>