Mercurial > hg > nginx
comparison src/http/ngx_http_core_module.h @ 396:6f3b20c1ac50
nginx-0.0.7-2004-07-18-23:11:20 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 18 Jul 2004 19:11:20 +0000 |
parents | f8f0f1834266 |
children | d6e2b445c1b8 |
comparison
equal
deleted
inserted
replaced
395:f8f0f1834266 | 396:6f3b20c1ac50 |
---|---|
122 ngx_int_t overwrite; | 122 ngx_int_t overwrite; |
123 ngx_str_t uri; | 123 ngx_str_t uri; |
124 } ngx_http_err_page_t; | 124 } ngx_http_err_page_t; |
125 | 125 |
126 | 126 |
127 typedef struct { | 127 typedef struct ngx_http_core_loc_conf_s ngx_http_core_loc_conf_t; |
128 | |
129 struct ngx_http_core_loc_conf_s { | |
128 ngx_str_t name; /* location name */ | 130 ngx_str_t name; /* location name */ |
129 void **loc_conf ; /* pointer to the modules' loc_conf */ | 131 |
132 #if (HAVE_PCRE) | |
133 ngx_regex_t *regex; | |
134 #endif | |
135 | |
136 unsigned exact_match:1; | |
137 unsigned auto_redirect:1; | |
138 unsigned alias:1; | |
139 | |
140 /* array of inclusive ngx_http_core_loc_conf_t */ | |
141 ngx_array_t locations; | |
142 | |
143 /* pointer to the modules' loc_conf */ | |
144 void **loc_conf ; | |
130 | 145 |
131 ngx_http_handler_pt handler; | 146 ngx_http_handler_pt handler; |
132 | 147 |
133 ngx_str_t root; /* root, alias */ | 148 ngx_str_t root; /* root, alias */ |
134 | 149 |
155 | 170 |
156 ngx_array_t *error_pages; /* error_page */ | 171 ngx_array_t *error_pages; /* error_page */ |
157 | 172 |
158 ngx_http_cache_hash_t *open_files; | 173 ngx_http_cache_hash_t *open_files; |
159 | 174 |
160 #if (HAVE_PCRE) | |
161 ngx_regex_t *regex; | |
162 #endif | |
163 | |
164 unsigned exact_match:1; | |
165 unsigned auto_redirect:1; | |
166 unsigned alias:1; | |
167 | |
168 ngx_log_t *err_log; | 175 ngx_log_t *err_log; |
169 } ngx_http_core_loc_conf_t; | 176 |
177 ngx_http_core_loc_conf_t *prev_location; | |
178 }; | |
170 | 179 |
171 | 180 |
172 extern ngx_http_module_t ngx_http_core_module_ctx; | 181 extern ngx_http_module_t ngx_http_core_module_ctx; |
173 extern ngx_module_t ngx_http_core_module; | 182 extern ngx_module_t ngx_http_core_module; |
174 | 183 |