Группа :: Система/Серверы
Пакет: nginx
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: nginx-0.3.45-auth_if.patch
--- nginx-0.3.45/src/http/modules/ngx_http_auth_basic_module.c~ 2006-04-06 16:50:16.000000000 +0400
+++ nginx-0.3.45/src/http/modules/ngx_http_auth_basic_module.c 2006-05-07 16:27:56.000000000 +0400
@@ -41,7 +41,7 @@ static ngx_conf_post_handler_pt ngx_htt
static ngx_command_t ngx_http_auth_basic_commands[] = {
{ ngx_string("auth_basic"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF|NGX_HTTP_LIF_CONF
|NGX_CONF_TAKE1,
ngx_conf_set_str_slot,
NGX_HTTP_LOC_CONF_OFFSET,
@@ -49,7 +49,7 @@ static ngx_command_t ngx_http_auth_basi
&ngx_http_auth_basic_p },
{ ngx_string("auth_basic_user_file"),
- NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF
+ NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_HTTP_LMT_CONF|NGX_HTTP_LIF_CONF
|NGX_CONF_TAKE1,
ngx_conf_set_str_slot,
NGX_HTTP_LOC_CONF_OFFSET,