Mercurial > hg > nginx-site
changeset 724:0422511d9bee
Improved descriptions of indexing modules and mentioned others in index module.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Fri, 12 Oct 2012 10:01:35 +0000 |
parents | 9429fd8bbac8 |
children | 64085bf227f6 |
files | xml/en/docs/http/ngx_http_autoindex_module.xml xml/en/docs/http/ngx_http_index_module.xml xml/en/docs/http/ngx_http_random_index_module.xml xml/ru/docs/http/ngx_http_autoindex_module.xml xml/ru/docs/http/ngx_http_index_module.xml xml/ru/docs/http/ngx_http_random_index_module.xml |
diffstat | 6 files changed, 23 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_autoindex_module.xml +++ b/xml/en/docs/http/ngx_http_autoindex_module.xml @@ -10,12 +10,13 @@ <module name="Module ngx_http_autoindex_module" link="/en/docs/http/ngx_http_autoindex_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> <para> -The <literal>ngx_http_autoindex_module</literal> module produces +The <literal>ngx_http_autoindex_module</literal> module processes requests +ending with the slash character (‘<literal>/</literal>’) and produces a directory listing. Usually a request is passed to the <literal>ngx_http_autoindex_module</literal> module when the
--- a/xml/en/docs/http/ngx_http_index_module.xml +++ b/xml/en/docs/http/ngx_http_index_module.xml @@ -10,13 +10,18 @@ <module name="Module ngx_http_index_module" link="/en/docs/http/ngx_http_index_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> <para> The module <literal>ngx_http_index_module</literal> processes requests ending with the slash character (‘<literal>/</literal>’). +Such requests can also be processed by +<link doc="ngx_http_autoindex_module.xml">ngx_http_autoindex_module</link> +and +<link doc="ngx_http_random_index_module.xml">ngx_http_random_index_module</link> +modules. </para> </section>
--- a/xml/en/docs/http/ngx_http_random_index_module.xml +++ b/xml/en/docs/http/ngx_http_random_index_module.xml @@ -10,12 +10,13 @@ <module name="Module ngx_http_random_index_module" link="/en/docs/http/ngx_http_random_index_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> <para> -The module <literal>ngx_http_random_index_module</literal> picks a random +The <literal>ngx_http_random_index_module</literal> module processes requests +ending with the slash character (‘<literal>/</literal>’) and picks a random file in a directory as an index file. It works before the <link doc="ngx_http_index_module.xml">ngx_http_index_module</link>
--- a/xml/ru/docs/http/ngx_http_autoindex_module.xml +++ b/xml/ru/docs/http/ngx_http_autoindex_module.xml @@ -10,13 +10,13 @@ <module name="Модуль ngx_http_autoindex_module" link="/ru/docs/http/ngx_http_autoindex_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> <para> -Модуль <literal>ngx_http_autoindex_module</literal> выдаёт -листинг каталога. +Модуль <literal>ngx_http_autoindex_module</literal> обслуживает запросы, +оканчивающиеся слэшом (‘<literal>/</literal>’), и выдаёт листинг каталога. Обычно запрос попадает к модулю <literal>ngx_http_autoindex_module</literal>, когда модуль <link doc="ngx_http_index_module.xml">ngx_http_index_module</link> не нашёл индексный файл.
--- a/xml/ru/docs/http/ngx_http_index_module.xml +++ b/xml/ru/docs/http/ngx_http_index_module.xml @@ -10,13 +10,17 @@ <module name="Модуль ngx_http_index_module" link="/ru/docs/http/ngx_http_index_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> <para> Модуль <literal>ngx_http_index_module</literal> обслуживает запросы, оканчивающиеся слэшом (‘<literal>/</literal>’). +Такие запросы также могут обслуживаться модулями +<link doc="ngx_http_autoindex_module.xml">ngx_http_autoindex_module</link> +и +<link doc="ngx_http_random_index_module.xml">ngx_http_random_index_module</link>. </para> </section>
--- a/xml/ru/docs/http/ngx_http_random_index_module.xml +++ b/xml/ru/docs/http/ngx_http_random_index_module.xml @@ -10,12 +10,13 @@ <module name="Модуль ngx_http_random_index_module" link="/ru/docs/http/ngx_http_random_index_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> <para> -Модуль <literal>ngx_http_random_index_module</literal> выдаёт случайный +Модуль <literal>ngx_http_random_index_module</literal> обслуживает запросы, +оканчивающиеся слэшом (‘<literal>/</literal>’), и выдаёт случайный файл в качестве индексного файла каталога. Модуль работает до модуля <link doc="ngx_http_index_module.xml">ngx_http_index_module</link>.