comparison xml/en/docs/http/ngx_http_browser_module.xml @ 966:95c3c3bbf1ce

Text review.
author Egor Nikitin <yegor.nikitin@gmail.com>
date Wed, 14 Aug 2013 12:03:41 +0400
parents 764fbac1b8b4
children 07402a11fd8d
comparison
equal deleted inserted replaced
965:fadccc156188 966:95c3c3bbf1ce
20 request header field: 20 request header field:
21 <list type="tag"> 21 <list type="tag">
22 22
23 <tag-name><var>$modern_browser</var></tag-name> 23 <tag-name><var>$modern_browser</var></tag-name>
24 <tag-desc> 24 <tag-desc>
25 equals to the value set by the <link id="modern_browser_value"/> directive, 25 equals the value set by the <link id="modern_browser_value"/> directive,
26 if a browser was identified as modern; 26 if a browser was identified as modern;
27 </tag-desc> 27 </tag-desc>
28 28
29 <tag-name><var>$ancient_browser</var></tag-name> 29 <tag-name><var>$ancient_browser</var></tag-name>
30 <tag-desc> 30 <tag-desc>
31 equals to the value set by the <link id="ancient_browser_value"/> directive, 31 equals the value set by the <link id="ancient_browser_value"/> directive,
32 if a browser was identified as ancient; 32 if a browser was identified as ancient;
33 </tag-desc> 33 </tag-desc>
34 34
35 <tag-name><var>$msie</var></tag-name> 35 <tag-name><var>$msie</var></tag-name>
36 <tag-desc> 36 <tag-desc>
91 <context>server</context> 91 <context>server</context>
92 <context>location</context> 92 <context>location</context>
93 93
94 <para> 94 <para>
95 If any of the specified substrings is found in the <header>User-Agent</header> 95 If any of the specified substrings is found in the <header>User-Agent</header>
96 request header field, a browser will be considered ancient. 96 request header field, the browser will be considered ancient.
97 The special string “<literal>netscape4</literal>” corresponds to the 97 The special string “<literal>netscape4</literal>” corresponds to the
98 regular expression “<literal>^Mozilla/[1-4]</literal>”. 98 regular expression “<literal>^Mozilla/[1-4]</literal>”.
99 </para> 99 </para>
100 100
101 </directive> 101 </directive>
142 a browser as modern if it was not listed by the 142 a browser as modern if it was not listed by the
143 <literal>modern_browser</literal> and <link id="ancient_browser"/> 143 <literal>modern_browser</literal> and <link id="ancient_browser"/>
144 directives. 144 directives.
145 Otherwise such a browser is considered ancient. 145 Otherwise such a browser is considered ancient.
146 If a request does not provide the <header>User-Agent</header> field 146 If a request does not provide the <header>User-Agent</header> field
147 in the header, a browser is treated as not being listed. 147 in the header, the browser is treated as not being listed.
148 </para> 148 </para>
149 149
150 </directive> 150 </directive>
151 151
152 152