comparison xml/ru/docs/http/ngx_http_perl_module.xml @ 102:c76a257f3fd4

The directive name is now automatically printed in <default> and <syntax>. Specifying <default> is made non-optional. Visible changes: - "types" and "proxy_set_header" get proper defaults (not yet displayed nicely); - "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header", "proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header" now have their (empty) defaults documented; - mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which are long unsupported were removed.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 05:15:24 +0000
parents 1d315ef37215
children 56457a474903
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
189 189
190 190
191 <section name="Директивы" id="directives"> 191 <section name="Директивы" id="directives">
192 192
193 <directive name="perl"> 193 <directive name="perl">
194 <syntax>perl <value>модуль::функция|'sub { ... }'</value></syntax> 194 <syntax><value>модуль::функция|'sub { ... }'</value></syntax>
195 <default/> 195 <default/>
196 <context>location, limit_except</context> 196 <context>location, limit_except</context>
197 197
198 <para> 198 <para>
199 Директива устанавливает обработчик для данного location. 199 Директива устанавливает обработчик для данного location.
201 201
202 </directive> 202 </directive>
203 203
204 204
205 <directive name="perl_modules"> 205 <directive name="perl_modules">
206 <syntax>perl_modules <value>путь</value></syntax> 206 <syntax><value>путь</value></syntax>
207 <default/> 207 <default/>
208 <context>http</context> 208 <context>http</context>
209 209
210 <para> 210 <para>
211 Директива задаёт дополнительный путь для perl'овых модулей. 211 Директива задаёт дополнительный путь для perl'овых модулей.
213 213
214 </directive> 214 </directive>
215 215
216 216
217 <directive name="perl_require"> 217 <directive name="perl_require">
218 <syntax>perl_require <value>модуль</value></syntax> 218 <syntax><value>модуль</value></syntax>
219 <default/> 219 <default/>
220 <context>http</context> 220 <context>http</context>
221 221
222 <para> 222 <para>
223 Директива задаёт имя модуля, который будет подгружаться при каждой 223 Директива задаёт имя модуля, который будет подгружаться при каждой
226 226
227 </directive> 227 </directive>
228 228
229 229
230 <directive name="perl_set"> 230 <directive name="perl_set">
231 <syntax>perl_set <value>$переменная</value> 231 <syntax><value>$переменная</value>
232 <value>модуль::функция|'sub { ... }'</value> 232 <value>модуль::функция|'sub { ... }'</value>
233 </syntax> 233 </syntax>
234 <default/> 234 <default/>
235 <context>http</context> 235 <context>http</context>
236 236