comparison xml/ru/docs/http/ngx_http_rewrite_module.xml @ 271:4c6d2c614d2c

Cleaned up XML tag mess: - all of <parameter> and <code>, and some of <dirname>, <value>, and <command> were replaced by <literal>; - the rest of <dirname> were replaced by links; - <argument> were replaced by <value>; - <value> is now rendered in HTML in italic; - <literal> and <path> can now contain <value>. Cleaned up terminology mess: - directives take "parameters".
author Ruslan Ermilov <ru@nginx.com>
date Fri, 23 Dec 2011 17:29:59 +0000
parents c78b2d6fe261
children b838f6e9192e
comparison
equal deleted inserted replaced
270:945d7299c26c 271:4c6d2c614d2c
150 150
151 </directive> 151 </directive>
152 152
153 153
154 <directive name="rewrite"> 154 <directive name="rewrite">
155 <syntax><value>regex</value> <value>замена</value> 155 <syntax><value>regex</value> <value>замена</value> <value>флаг</value></syntax>
156  <value>флаг</value>
157 </syntax>
158 <default/> 156 <default/>
159 <context>server, location, if</context> 157 <context>server, location, if</context>
160 158
161 <para> 159 <para>
162 Директива rewrite изменяет URI в соответствии с регулярным выражением 160 Директива rewrite изменяет URI в соответствии с регулярным выражением
233 231
234 </directive> 232 </directive>
235 233
236 234
237 <directive name="set"> 235 <directive name="set">
238 <syntax><value>переменная</value> <value>значение</value> 236 <syntax><value>переменная</value> <value>значение</value></syntax>
239 </syntax>
240 <default/> 237 <default/>
241 <context>server, location, if</context> 238 <context>server, location, if</context>
242 239
243 <para> 240 <para>
244 Директива устанавливает значение для указанной переменной. 241 Директива устанавливает значение для указанной переменной.
247 244
248 </directive> 245 </directive>
249 246
250 247
251 <directive name="uninitialized_variable_warn"> 248 <directive name="uninitialized_variable_warn">
252 <syntax><value>on|off</value></syntax> 249 <syntax><literal>on</literal> | <literal>off</literal></syntax>
253 <default>on</default> 250 <default>on</default>
254 <context>http, server, location, if</context> 251 <context>http, server, location, if</context>
255 252
256 <para> 253 <para>
257 Директива определяет, нужно ли писать в лог предупреждение 254 Директива определяет, нужно ли писать в лог предупреждение