Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_random_index_module.xml @ 271:4c6d2c614d2c
Cleaned up XML tag mess:
- all of <parameter> and <code>, and some of <dirname>, <value>,
and <command> were replaced by <literal>;
- the rest of <dirname> were replaced by links;
- <argument> were replaced by <value>;
- <value> is now rendered in HTML in italic;
- <literal> and <path> can now contain <value>.
Cleaned up terminology mess:
- directives take "parameters".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 23 Dec 2011 17:29:59 +0000 |
parents | bfe3eff81d04 |
children | 197ac51e7f0e |
comparison
equal
deleted
inserted
replaced
270:945d7299c26c | 271:4c6d2c614d2c |
---|---|
7 lang="en"> | 7 lang="en"> |
8 | 8 |
9 <section id="summary"> | 9 <section id="summary"> |
10 | 10 |
11 <para> | 11 <para> |
12 The module <code>ngx_http_random_index_module</code> picks a random | 12 The module <literal>ngx_http_random_index_module</literal> picks a random |
13 file in a directory as an index file. | 13 file in a directory as an index file. |
14 It works before the | 14 It works before the |
15 <link doc="ngx_http_index_module.xml">ngx_http_index_module</link> | 15 <link doc="ngx_http_index_module.xml">ngx_http_index_module</link> |
16 module. | 16 module. |
17 </para> | 17 </para> |
18 | 18 |
19 <para> | 19 <para> |
20 This module is not built by default, it should be enabled with the | 20 This module is not built by default, it should be enabled with the |
21 <code>--with-http_random_index_module</code> | 21 <literal>--with-http_random_index_module</literal> |
22 configuration parameter. | 22 configuration parameter. |
23 </para> | 23 </para> |
24 | 24 |
25 </section> | 25 </section> |
26 | 26 |
39 | 39 |
40 | 40 |
41 <section name="Directives" id="directives"> | 41 <section name="Directives" id="directives"> |
42 | 42 |
43 <directive name="random_index"> | 43 <directive name="random_index"> |
44 <syntax><value>on</value> | <value>off</value></syntax> | 44 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
45 <default>off</default> | 45 <default>off</default> |
46 <context>location</context> | 46 <context>location</context> |
47 | 47 |
48 <para> | 48 <para> |
49 Enables or disables module processing in a surrounding location. | 49 Enables or disables module processing in a surrounding location. |