Mercurial > hg > nginx
comparison src/http/modules/ngx_http_index_handler.c @ 292:a472bfb778b3
nginx-0.0.3-2004-03-17-00:26:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Mar 2004 21:26:01 +0000 |
parents | 87e73f067470 |
children | ec3c049681fd |
comparison
equal
deleted
inserted
replaced
291:117ccc7c4055 | 292:a472bfb778b3 |
---|---|
19 ngx_http_cache_t *cache; | 19 ngx_http_cache_t *cache; |
20 unsigned tested:1; | 20 unsigned tested:1; |
21 } ngx_http_index_ctx_t; | 21 } ngx_http_index_ctx_t; |
22 | 22 |
23 | 23 |
24 #define NGX_HTTP_DEFAULT_INDEX "index.html" | 24 #define NGX_HTTP_DEFAULT_INDEX (u_char *) "index.html" |
25 | 25 |
26 | 26 |
27 static ngx_int_t ngx_http_index_test_dir(ngx_http_request_t *r, | 27 static ngx_int_t ngx_http_index_test_dir(ngx_http_request_t *r, |
28 ngx_http_index_ctx_t *ctx); | 28 ngx_http_index_ctx_t *ctx); |
29 static ngx_int_t ngx_http_index_error(ngx_http_request_t *r, | 29 static ngx_int_t ngx_http_index_error(ngx_http_request_t *r, |