view xml/ru/docs/http/ngx_http_autoindex_module.xml @ 589:764fbac1b8b4

Added document revision.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 17 Jul 2012 05:02:15 +0000
parents be54c443235a
children 0422511d9bee
line wrap: on
line source

<?xml version="1.0"?>

<!--
  Copyright (C) Igor Sysoev
  Copyright (C) Nginx, Inc.
  -->

<!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">

<module name="Модуль ngx_http_autoindex_module"
        link="/ru/docs/http/ngx_http_autoindex_module.html"
        lang="ru"
        rev="1">

<section id="summary">

<para>
Модуль <literal>ngx_http_autoindex_module</literal> выдаёт
листинг каталога.
Обычно запрос попадает к модулю <literal>ngx_http_autoindex_module</literal>,
когда модуль <link doc="ngx_http_index_module.xml">ngx_http_index_module</link>
не нашёл индексный файл.
</para>

</section>


<section id="example" name="Пример конфигурации">

<para>
<example>
location / {
    autoindex on;
}
</example>
</para>

</section>


<section id="directives" name="Директивы">

<directive name="autoindex">
<syntax><literal>on</literal> | <literal>off</literal></syntax>
<default>off</default>
<context>http</context>
<context>server</context>
<context>location</context>

<para>
Разрешает или запрещает вывод листинга каталога.
</para>

</directive>


<directive name="autoindex_exact_size">
<syntax><literal>on</literal> | <literal>off</literal></syntax>
<default>on</default>
<context>http</context>
<context>server</context>
<context>location</context>

<para>
Определяет, как выводить размеры файлов в листинге
каталога — точно, или округляя до килобайт, мегабайт и гигабайт.
</para>

</directive>


<directive name="autoindex_localtime">
<syntax><literal>on</literal> | <literal>off</literal></syntax>
<default>off</default>
<context>http</context>
<context>server</context>
<context>location</context>

<para>
Определяет, в какой временной зоне выводить время в листинге
каталога — в локальной или в UTC.
</para>

</directive>

</section>

</module>