comparison src/http/modules/ngx_http_fastcgi_module.c @ 204:2a97b47ff8db NGINX_0_3_49

nginx 0.3.49 *) Bugfix: in the "set" directive. *) Bugfix: if two or more FastCGI subrequests was in SSI, then first subrequest output was included instead of second and following subrequests.
author Igor Sysoev <http://sysoev.ru>
date Wed, 31 May 2006 00:00:00 +0400
parents d2ae1c9f1fd3
children 3866d57d9cfd
comparison
equal deleted inserted replaced
203:14db5e3fc915 204:2a97b47ff8db
1474 ngx_http_fastcgi_add_variables(ngx_conf_t *cf) 1474 ngx_http_fastcgi_add_variables(ngx_conf_t *cf)
1475 { 1475 {
1476 ngx_http_variable_t *var; 1476 ngx_http_variable_t *var;
1477 1477
1478 var = ngx_http_add_variable(cf, &ngx_http_fastcgi_script_name, 1478 var = ngx_http_add_variable(cf, &ngx_http_fastcgi_script_name,
1479 NGX_HTTP_VAR_NOHASH); 1479 NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHABLE);
1480 if (var == NULL) { 1480 if (var == NULL) {
1481 return NGX_ERROR; 1481 return NGX_ERROR;
1482 } 1482 }
1483 1483
1484 var->get_handler = ngx_http_fastcgi_script_name_variable; 1484 var->get_handler = ngx_http_fastcgi_script_name_variable;