# 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 --git a/dtd/content.dtd b/dtd/content.dtd --- a/dtd/content.dtd +++ b/dtd/content.dtd @@ -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 --git a/dtd/module.dtd b/dtd/module.dtd --- a/dtd/module.dtd +++ b/dtd/module.dtd @@ -29,7 +29,7 @@ + list | note | parameter | path | value | var)* > @@ -73,7 +73,7 @@ - + diff --git a/xml/en/docs/freebsd_tuning.xml b/xml/en/docs/freebsd_tuning.xml --- a/xml/en/docs/freebsd_tuning.xml +++ b/xml/en/docs/freebsd_tuning.xml @@ -26,7 +26,7 @@ to process requests. Let’s start w 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 @@ The page size jumbo clusters are usually 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 memory usage by using the cached fil 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 --git a/xml/en/docs/http/configuring_https_servers.xml b/xml/en/docs/http/configuring_https_servers.xml --- a/xml/en/docs/http/configuring_https_servers.xml +++ b/xml/en/docs/http/configuring_https_servers.xml @@ -161,7 +161,7 @@ and which are signed by trusted authorit 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 --git a/xml/en/docs/http/ngx_http_core_module.xml b/xml/en/docs/http/ngx_http_core_module.xml --- a/xml/en/docs/http/ngx_http_core_module.xml +++ b/xml/en/docs/http/ngx_http_core_module.xml @@ -47,7 +47,7 @@ without the penalty of running the netwo 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 @@ location /i/ { 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 @@ location /i/ { “/i/top.gif” will be responded with the file -/data/w3/i/top.gif. +/data/w3/i/top.gif. @@ -2039,7 +2039,7 @@ Several extensions can map to one type. A sufficiently full mapping table is distributed with nginx in the -conf/mime.types file. +conf/mime.types file. diff --git a/xml/en/docs/http/ngx_http_mp4_module.xml b/xml/en/docs/http/ngx_http_mp4_module.xml --- a/xml/en/docs/http/ngx_http_mp4_module.xml +++ b/xml/en/docs/http/ngx_http_mp4_module.xml @@ -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 --git a/xml/en/docs/http/request_processing.xml b/xml/en/docs/http/request_processing.xml --- a/xml/en/docs/http/request_processing.xml +++ b/xml/en/docs/http/request_processing.xml @@ -201,7 +201,7 @@ server { 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 @@ in the configuration above: -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 @@ is sent to the client. -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 @@ to the client. -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 --git a/xml/en/docs/windows.xml b/xml/en/docs/windows.xml --- a/xml/en/docs/windows.xml +++ b/xml/en/docs/windows.xml @@ -34,7 +34,7 @@ cd nginx- start nginx -You may run the tasklist command line utility +You may run the tasklist command line utility to see nginx processes: diff --git a/xml/en/download.xml b/xml/en/download.xml --- a/xml/en/download.xml +++ b/xml/en/download.xml @@ -194,7 +194,7 @@ yum install nginx 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 5.x or 6.x versions, respectively. 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 @@ apt-get install nginx 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 --git a/xml/ru/docs/http/ngx_http_mp4_module.xml b/xml/ru/docs/http/ngx_http_mp4_module.xml --- a/xml/ru/docs/http/ngx_http_mp4_module.xml +++ b/xml/ru/docs/http/ngx_http_mp4_module.xml @@ -12,8 +12,7 @@ Модуль ngx_http_mp4_module обеспечивает серверную поддержку псевдо-стриминга для файлов в формате H.264/AAC. Такие файлы обычно имеют расширения -.mp4, .m4v.m4a. +.mp4, .m4v и .m4a. diff --git a/xsls/content.xsls b/xsls/content.xsls --- a/xsls/content.xsls +++ b/xsls/content.xsls @@ -116,8 +116,6 @@ X:stylesheet { X:text disable-output-escaping="yes" {<p> } } - X:template = "pathname" { !!; } - X:template = "argument" { !!; } X:template = "parameter" { !!; } @@ -151,7 +149,7 @@ X:stylesheet { X:template = "var" { !!; } - X:template = "path" { X:text {“} !!; X:text {”} } + X:template = "path" { !!; } X:template = "code" { !!; } X:template = "i" { !!; } X:template = "b" { !!; }