Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 148:682163f2b298
Unified article/path and module/pathname into a single "path".
"path" no longer emits double quotes so preserve them where
needed. Replaced some misuses of "path" and "dirname".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 25 Oct 2011 13:28:36 +0000 |
parents | 8057b7793bd9 |
children | 5a35535f7cdf |
comparison
equal
deleted
inserted
replaced
147:8057b7793bd9 | 148:682163f2b298 |
---|---|
45 However, starting from FreeBSD 5.3 it is possible to enable AIO | 45 However, starting from FreeBSD 5.3 it is possible to enable AIO |
46 without the penalty of running the networking subsystem under a | 46 without the penalty of running the networking subsystem under a |
47 Giant lock—for this to work, the AIO module needs to be loaded | 47 Giant lock—for this to work, the AIO module needs to be loaded |
48 after the kernel has booted. | 48 after the kernel has booted. |
49 In this case, the following message will appear in | 49 In this case, the following message will appear in |
50 <pathname>/var/log/messages</pathname> | 50 <path>/var/log/messages</path> |
51 <example> | 51 <example> |
52 WARNING: Network stack Giant-free, but aio requires Giant. | 52 WARNING: Network stack Giant-free, but aio requires Giant. |
53 Consider adding 'options NET_WITH_GIANT' or setting debug.mpsafenet=0 | 53 Consider adding 'options NET_WITH_GIANT' or setting debug.mpsafenet=0 |
54 </example> | 54 </example> |
55 and can safely be ignored. | 55 and can safely be ignored. |
145 } | 145 } |
146 </example> | 146 </example> |
147 the request of | 147 the request of |
148 “<code>/i/top.gif</code>” will be responded | 148 “<code>/i/top.gif</code>” will be responded |
149 with the file | 149 with the file |
150 <pathname>/data/w3/images/top.gif</pathname>. | 150 <path>/data/w3/images/top.gif</path>. |
151 </para> | 151 </para> |
152 | 152 |
153 <para> | 153 <para> |
154 The <argument>path</argument> value can contain variables | 154 The <argument>path</argument> value can contain variables |
155 except <var>$document_root</var> and <var>$realpath_root</var>. | 155 except <var>$document_root</var> and <var>$realpath_root</var>. |
1528 root /data/w3; | 1528 root /data/w3; |
1529 } | 1529 } |
1530 </example> | 1530 </example> |
1531 “<code>/i/top.gif</code>” will be responded | 1531 “<code>/i/top.gif</code>” will be responded |
1532 with the file | 1532 with the file |
1533 <pathname>/data/w3/i/top.gif</pathname>. | 1533 <path>/data/w3/i/top.gif</path>. |
1534 </para> | 1534 </para> |
1535 | 1535 |
1536 <para> | 1536 <para> |
1537 The <argument>path</argument> value can contain variables | 1537 The <argument>path</argument> value can contain variables |
1538 except <var>$document_root</var> and <var>$realpath_root</var>. | 1538 except <var>$document_root</var> and <var>$realpath_root</var>. |
2037 Several extensions can map to one type. | 2037 Several extensions can map to one type. |
2038 </para> | 2038 </para> |
2039 | 2039 |
2040 <para> | 2040 <para> |
2041 A sufficiently full mapping table is distributed with nginx in the | 2041 A sufficiently full mapping table is distributed with nginx in the |
2042 <pathname>conf/mime.types</pathname> file. | 2042 <path>conf/mime.types</path> file. |
2043 </para> | 2043 </para> |
2044 | 2044 |
2045 <para> | 2045 <para> |
2046 To make a particular location emit the | 2046 To make a particular location emit the |
2047 “<code>application/octet-stream</code>” | 2047 “<code>application/octet-stream</code>” |