# HG changeset patch # User Ruslan Ermilov # Date 1319549316 0 # Node ID 682163f2b2980caa9f17168c4c9d022cdd380490 # Parent 8057b7793bd958a0a3bce3b9de3d43783f12e698 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". diff -r 8057b7793bd9 -r 682163f2b298 dtd/content.dtd --- a/dtd/content.dtd Tue Oct 25 12:45:29 2011 +0000 +++ b/dtd/content.dtd Tue Oct 25 13:28:36 2011 +0000 @@ -9,7 +9,7 @@ i | b | nobr | table | url | code | command | dirname | path | header | value | programlisting | initial | development_version | stable_version | - registered | pathname)* > + registered)* > - @@ -42,7 +41,7 @@ - + diff -r 8057b7793bd9 -r 682163f2b298 dtd/module.dtd --- a/dtd/module.dtd Tue Oct 25 12:45:29 2011 +0000 +++ b/dtd/module.dtd Tue Oct 25 13:28:36 2011 +0000 @@ -29,7 +29,7 @@ + list | note | parameter | path | value | var)* > @@ -73,7 +73,7 @@ - + diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/freebsd_tuning.xml --- a/xml/en/docs/freebsd_tuning.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/freebsd_tuning.xml Tue Oct 25 13:28:36 2011 +0000 @@ -26,7 +26,7 @@ After the connection has been established it is placed in the listen queue of the listen socket. To see the current listen queues state, you may run the command -netstat -Lan: +“netstat -Lan”: Current listen queue sizes (qlen/incqlen/maxqlen) @@ -164,7 +164,7 @@ while the mbuf clusters are used for both sending and receiving. To see the current usage of the mbufs and clusters and their limits, -you may run the command netstat -m. +you may run the command netstat -m”. Here is a sample from FreeBSD 7.2/amd64 with the default settings: @@ -239,7 +239,7 @@ And again, the amd64 sendfile implementation is the best: -the zeros in the netstat -m output +the zeros in the netstat -m output ... 0/0/0 sfbufs in use (current/peak/max) diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/http/configuring_https_servers.xml --- a/xml/en/docs/http/configuring_https_servers.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/http/configuring_https_servers.xml Tue Oct 25 13:28:36 2011 +0000 @@ -161,7 +161,7 @@ may already have the required intermediate certificates and may not complain about a certificate sent without a chained bundle. To ensure the server sends the complete certificate chain, -you may use the openssl command line utility, for example: +you may use the openssl command line utility, for example: $ openssl s_client -connect www.godaddy.com:443 diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/http/ngx_http_core_module.xml Tue Oct 25 13:28:36 2011 +0000 @@ -47,7 +47,7 @@ Giant lock—for this to work, the AIO module needs to be loaded after the kernel has booted. In this case, the following message will appear in -/var/log/messages +/var/log/messages WARNING: Network stack Giant-free, but aio requires Giant. Consider adding 'options NET_WITH_GIANT' or setting debug.mpsafenet=0 @@ -147,7 +147,7 @@ the request of “/i/top.gif” will be responded with the file -/data/w3/images/top.gif. +/data/w3/images/top.gif. @@ -1530,7 +1530,7 @@ “/i/top.gif” will be responded with the file -/data/w3/i/top.gif. +/data/w3/i/top.gif. @@ -2039,7 +2039,7 @@ A sufficiently full mapping table is distributed with nginx in the -conf/mime.types file. +conf/mime.types file. diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/http/ngx_http_mp4_module.xml --- a/xml/en/docs/http/ngx_http_mp4_module.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/http/ngx_http_mp4_module.xml Tue Oct 25 13:28:36 2011 +0000 @@ -11,8 +11,7 @@ The module ngx_http_mp4_module provides pseudo-streaming server-side support for H.264/AAC files typically having filename extensions -.mp4, .m4v, -and .m4a. +.mp4, .m4v, and .m4a. diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/http/request_processing.xml --- a/xml/en/docs/http/request_processing.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/http/request_processing.xml Tue Oct 25 13:28:36 2011 +0000 @@ -201,7 +201,7 @@ nginx first searches for the most specific location given by literal strings regardless of the listed order. In the configuration above -the only literal location is / and since it matches +the only literal location is “/” and since it matches any request it will be used as a last resort. Then nginx checks locations given by regular expression in the order listed in the configuration file. @@ -235,11 +235,11 @@ -A request /logo.gif is matched by the literal location -/ first and then by the regular expression -\.(gif|jpg|png)$, +A request “/logo.gif” is matched by the literal location +“/” first and then by the regular expression +“\.(gif|jpg|png)$”, therefore, it is handled by the latter location. -Using the directive root /data/www the request +Using the directive “root /data/www” the request is mapped to a file /data/www/logo.gif, and the file is sent to the client. @@ -247,25 +247,25 @@ -A request /index.php is also matched by the literal location -/ first and then by the regular expression -\.(php)$. Therefore, it is handled by the latter location +A request “/index.php” is also matched by the literal location +“/” first and then by the regular expression +“\.(php)$”. Therefore, it is handled by the latter location and the request is passed to a FastCGI server listening on localhost:9000. The fastcgi_param directive sets the FastCGI parameter -SCRIPT_FILENAME to /data/www/index.php, +SCRIPT_FILENAME to “/data/www/index.php”, and the FastCGI server executes the file. The variable $document_root is equal to the value of the root directive and the variable $fastcgi_script_name is equal to the request URI, -i.e. /index.php. +i.e. “/index.php”. -A request /about.html is matched by the literal location -/ only, therefore, it is handled in this location. -Using the directive root /data/www the request is mapped +A request “/about.html” is matched by the literal location +“/” only, therefore, it is handled in this location. +Using the directive “root /data/www” the request is mapped to the file /data/www/about.html, and the file is sent to the client. @@ -273,14 +273,14 @@ -Handling a request / is more complex. -It is matched by the literal location / only, +Handling a request “/” is more complex. +It is matched by the literal location “/” only, therefore, it is handled by this location. Then the index directive tests for the existence of an index file according to its parameters and -the root /data/www directive. +the “root /data/www” directive. If a file /data/www/index.php exists, -then the directive does an internal redirect to /index.php, and +then the directive does an internal redirect to “/index.php”, and nginx searches the locations again as if the request had been sent by a client. As we saw before, the redirected request will eventually be handled by the FastCGI server. diff -r 8057b7793bd9 -r 682163f2b298 xml/en/docs/windows.xml --- a/xml/en/docs/windows.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/docs/windows.xml Tue Oct 25 13:28:36 2011 +0000 @@ -34,7 +34,7 @@ start nginx -You may run the tasklist command line utility +You may run the tasklist command line utility to see nginx processes: diff -r 8057b7793bd9 -r 682163f2b298 xml/en/download.xml --- a/xml/en/download.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/en/download.xml Tue Oct 25 13:28:36 2011 +0000 @@ -194,7 +194,7 @@ As an alternative, a repository config can be added manually. -Create the file named /etc/yum.repos.d/nginx.repo +Create the file named /etc/yum.repos.d/nginx.repo with the following contents: @@ -213,7 +213,7 @@ For Debian 6 append the following contents to -/etc/apt/sources.list: +/etc/apt/sources.list: deb http://nginx.org/packages/debian/ squeeze nginx @@ -230,7 +230,7 @@ For Ubuntu 10.04 append the following contents to -/etc/apt/sources.list: +/etc/apt/sources.list: deb http://nginx.org/packages/ubuntu/ lucid nginx diff -r 8057b7793bd9 -r 682163f2b298 xml/ru/docs/http/ngx_http_mp4_module.xml --- a/xml/ru/docs/http/ngx_http_mp4_module.xml Tue Oct 25 12:45:29 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_mp4_module.xml Tue Oct 25 13:28:36 2011 +0000 @@ -12,8 +12,7 @@ Модуль ngx_http_mp4_module обеспечивает серверную поддержку псевдо-стриминга для файлов в формате H.264/AAC. Такие файлы обычно имеют расширения -.mp4, .m4v.m4a. +.mp4, .m4v и .m4a. diff -r 8057b7793bd9 -r 682163f2b298 xsls/content.xsls --- a/xsls/content.xsls Tue Oct 25 12:45:29 2011 +0000 +++ b/xsls/content.xsls Tue Oct 25 13:28:36 2011 +0000 @@ -116,8 +116,6 @@ X:text disable-output-escaping="yes" {<p> } } - X:template = "pathname" { !!; } - X:template = "argument" { !!; } X:template = "parameter" { !!; } @@ -151,7 +149,7 @@ X:template = "var" { !!; } - X:template = "path" { X:text {“} !!; X:text {”} } + X:template = "path" { !!; } X:template = "code" { !!; } X:template = "i" { !!; } X:template = "b" { !!; }