comparison src/http/modules/ngx_http_access_module.c @ 180:4cd3e70c4d60 NGINX_0_3_37

nginx 0.3.37 *) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
author Igor Sysoev <http://sysoev.ru>
date Fri, 07 Apr 2006 00:00:00 +0400
parents d25a1d6034f1
children 56688ed172c8
comparison
equal deleted inserted replaced
179:654cbdc0401d 180:4cd3e70c4d60
33 33
34 34
35 static ngx_command_t ngx_http_access_commands[] = { 35 static ngx_command_t ngx_http_access_commands[] = {
36 36
37 { ngx_string("allow"), 37 { ngx_string("allow"),
38 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, 38 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF
39 |NGX_CONF_TAKE1,
39 ngx_http_access_rule, 40 ngx_http_access_rule,
40 NGX_HTTP_LOC_CONF_OFFSET, 41 NGX_HTTP_LOC_CONF_OFFSET,
41 0, 42 0,
42 NULL }, 43 NULL },
43 44
44 { ngx_string("deny"), 45 { ngx_string("deny"),
45 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, 46 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF
47 |NGX_CONF_TAKE1,
46 ngx_http_access_rule, 48 ngx_http_access_rule,
47 NGX_HTTP_LOC_CONF_OFFSET, 49 NGX_HTTP_LOC_CONF_OFFSET,
48 0, 50 0,
49 NULL }, 51 NULL },
50 52