diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-04-08 15:40:10 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-04-08 15:40:10 +0000 |
commit | e2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5 (patch) | |
tree | 6198fc644d2efe9d10bab8b87004a70324d6cf5d /src/http/modules/ngx_http_index_handler.c | |
parent | 3f76ec190a3bd398c229deb0b4f298b9637a3129 (diff) | |
download | nginx-e2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5.tar.gz nginx-e2a3154f0e3020e1f21f5a88b29daf8cc26e0dc5.zip |
nginx-0.0.1-2003-04-08-19:40:10 import
Diffstat (limited to 'src/http/modules/ngx_http_index_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_index_handler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/http/modules/ngx_http_index_handler.c b/src/http/modules/ngx_http_index_handler.c index 722ddecf1..2dbd6aa09 100644 --- a/src/http/modules/ngx_http_index_handler.c +++ b/src/http/modules/ngx_http_index_handler.c @@ -35,13 +35,13 @@ static ngx_command_t ngx_http_index_commands[] = { ngx_http_module_t ngx_http_index_module_ctx = { + NGX_HTTP_MODULE, + NULL, /* create server config */ NULL, /* init server config */ ngx_http_index_create_conf, /* create location config */ - ngx_http_index_merge_conf, /* merge location config */ - - NULL /* init filters */ + ngx_http_index_merge_conf /* merge location config */ }; @@ -74,10 +74,10 @@ int ngx_http_index_handler(ngx_http_request_t *r) ngx_http_core_loc_conf_t *core_cf; cf = (ngx_http_index_conf_t *) - ngx_http_get_module_loc_conf(r, ngx_http_index_module); + ngx_http_get_module_loc_conf(r, ngx_http_index_module_ctx); core_cf = (ngx_http_core_loc_conf_t *) - ngx_http_get_module_loc_conf(r, ngx_http_core_module); + ngx_http_get_module_loc_conf(r, ngx_http_core_module_ctx); ngx_test_null(r->path.data, ngx_palloc(r->pool, |