diff src/http/modules/perl/ngx_http_perl_module.c @ 922:a5b9cdfe3e19

allow "perl" inside "limit_except"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 14 Dec 2006 22:13:33 +0000
parents 90ce4d0e3241
children f88651afad40
line wrap: on
line diff
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -86,7 +86,7 @@ static ngx_command_t  ngx_http_perl_comm
       NULL },
 
     { ngx_string("perl"),
-      NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
+      NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF|NGX_CONF_TAKE1,
       ngx_http_perl,
       NGX_HTTP_LOC_CONF_OFFSET,
       0,