Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_module.c @ 2087:c8039b26a949
always test root existence for access_log with variables
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 09:26:13 +0000 |
parents | 75a8d34459c5 |
children | 25add486e7aa |
comparison
equal
deleted
inserted
replaced
2086:22d36702c654 | 2087:c8039b26a949 |
---|---|
138 } | 138 } |
139 | 139 |
140 return rc; | 140 return rc; |
141 } | 141 } |
142 | 142 |
143 r->root_tested = 1; | |
144 | |
143 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd); | 145 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd); |
144 | 146 |
145 if (of.is_dir) { | 147 if (of.is_dir) { |
146 | 148 |
147 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, log, 0, "http dir"); | 149 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, log, 0, "http dir"); |