comparison xml/en/docs/http/ngx_http_autoindex_module.xml @ 315:e00f8f8c0486

Translated ngx_http_access_module, ngx_http_addition_module, ngx_http_auth_basic_module, ngx_http_autoindex_module, and ngx_http_browser_module into English.
author Ruslan Ermilov <ru@nginx.com>
date Fri, 13 Jan 2012 18:05:01 +0000
parents
children a4fa80755eab
comparison
equal deleted inserted replaced
314:95d5dc7c9884 315:e00f8f8c0486
1 <?xml version="1.0"?>
2
3 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
4
5 <module name="Module ngx_http_autoindex_module"
6 link="/en/docs/http/ngx_http_autoindex_module.html"
7 lang="en">
8
9 <section id="summary">
10
11 <para>
12 The <literal>ngx_http_autoindex_module</literal> module produces
13 a directory listing.
14 Usually a request is passed to the <literal>ngx_http_autoindex_module</literal>
15 module when the <link doc="ngx_http_index_module.xml">ngx_http_index_module</link>
16 module could not find an index file.
17 </para>
18
19 </section>
20
21
22 <section id="example" name="Example Configuration">
23
24 <para>
25 <example>
26 location / {
27 autoindex on;
28 }
29 </example>
30 </para>
31
32 </section>
33
34
35 <section id="directives" name="Directives">
36
37 <directive name="autoindex">
38 <syntax><literal>on</literal> | <literal>off</literal></syntax>
39 <default>off</default>
40 <context>http</context>
41 <context>server</context>
42 <context>location</context>
43
44 <para>
45 Enables or disables a directory listing output.
46 </para>
47
48 </directive>
49
50
51 <directive name="autoindex_exact_size">
52 <syntax><literal>on</literal> | <literal>off</literal></syntax>
53 <default>on</default>
54 <context>http</context>
55 <context>server</context>
56 <context>location</context>
57
58 <para>
59 Specifies whether file sizes in the directory listing should be
60 output exactly, or rounded to kilobytes, megabytes, and gigabytes.
61 </para>
62
63
64 </directive>
65
66
67 <directive name="autoindex_localtime">
68 <syntax><literal>on</literal> | <literal>off</literal></syntax>
69 <default>off</default>
70 <context>http</context>
71 <context>server</context>
72 <context>location</context>
73
74 <para>
75 Specifies whether times in the directory listing should be
76 output in a local time zone or UTC.
77 </para>
78
79 </directive>
80
81 </section>
82
83 </module>