comparison src/http/modules/ngx_http_access_module.c @ 631:5d2b8078c1c2 release-0.3.37

nginx-0.3.37-RELEASE import *) 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 <igor@sysoev.ru>
date Fri, 07 Apr 2006 14:08:04 +0000
parents 58475592100c
children 6d5c1535bb9d
comparison
equal deleted inserted replaced
630:375dab4fd227 631:5d2b8078c1c2
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