Mercurial > hg > nginx
comparison src/http/modules/ngx_http_index_handler.c @ 257:70e1c7d2b83d
nginx-0.0.2-2004-02-11-20:08:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 11 Feb 2004 17:08:49 +0000 |
parents | 74994aeef848 |
children | 35a6a9df2d25 |
comparison
equal
deleted
inserted
replaced
256:8e39cab6abd5 | 257:70e1c7d2b83d |
---|---|
284 ngx_err_t err; | 284 ngx_err_t err; |
285 | 285 |
286 ctx->path.data[ctx->path.len - 1] = '\0'; | 286 ctx->path.data[ctx->path.len - 1] = '\0'; |
287 ctx->path.data[ctx->path.len] = '\0'; | 287 ctx->path.data[ctx->path.len] = '\0'; |
288 | 288 |
289 ngx_log_debug(r->connection->log, "IS_DIR: %s" _ ctx->path.data); | 289 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
290 "http check dir: \"%s\"", ctx->path.data); | |
290 | 291 |
291 if (ngx_file_info(ctx->path.data, &r->file.info) == -1) { | 292 if (ngx_file_info(ctx->path.data, &r->file.info) == -1) { |
292 | 293 |
293 err = ngx_errno; | 294 err = ngx_errno; |
294 | 295 |