| commit | edf1c8c1b8a83a6592714516499a18adc830eeae | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Mon Jul 07 09:26:13 2008 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Mon Jul 07 09:26:13 2008 +0000 |
| tree | 01983bdab8428b3647f52d14fa098140070a7389 | |
| parent | 4f677fd20377230cf959cddb39ceb4d566ce4866 [diff] [blame] |
always test root existence for access_log with variables
diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index f5d6971..ce2f0fc 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c
@@ -140,6 +140,8 @@ return rc; } + r->root_tested = 1; + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd); if (of.is_dir) {