Changeset 446
- Timestamp:
- 07/15/2005 01:26:16 PM (3 years ago)
- Location:
- branches/lighttpd-1.3.x/src
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/lighttpd-1.3.x/src/base.h
r399 r446 225 225 buffer *dirlist_css; 226 226 buffer *dirlist_encoding; 227 buffer *errorfile_prefix; 227 228 228 229 unsigned short dir_listing; … … 408 409 buffer *groupname; 409 410 410 buffer *errorfile_prefix;411 411 buffer *license; 412 412 buffer *pid_file; -
branches/lighttpd-1.3.x/src/config.c
r413 r446 94 94 cv[0].destination = srv->srvconf.bindhost; 95 95 cv[1].destination = srv->srvconf.error_logfile; 96 cv[2].destination = srv->srvconf.errorfile_prefix;97 96 cv[3].destination = srv->srvconf.changeroot; 98 97 cv[4].destination = srv->srvconf.username; … … 128 127 s->error_handler = buffer_init(); 129 128 s->server_tag = buffer_init(); 129 s->errorfile_prefix = buffer_init(); 130 130 s->dirlist_css = buffer_init(); 131 131 s->dirlist_encoding = buffer_init(); … … 143 143 s->global_bytes_per_second_cnt = 0; 144 144 s->global_bytes_per_second_cnt_ptr = &s->global_bytes_per_second_cnt; 145 146 cv[2].destination = s->errorfile_prefix; 145 147 146 148 cv[7].destination = s->server_tag; … … 209 211 PATCH(use_xattr); 210 212 PATCH(error_handler); 213 PATCH(errorfile_prefix); 211 214 PATCH(follow_symlink); 212 215 PATCH(server_tag); … … 214 217 PATCH(global_kbytes_per_second); 215 218 PATCH(global_bytes_per_second_cnt); 219 216 220 con->conf.global_bytes_per_second_cnt_ptr = &s->global_bytes_per_second_cnt; 217 221 buffer_copy_string_buffer(con->server_name, s->server_name); … … 255 259 } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.error-handler-404"))) { 256 260 PATCH(error_handler); 261 } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.errorfi"))) { 262 PATCH(errorfile_prefix); 257 263 } else if (buffer_is_equal_string(du->key, CONST_STR_LEN("server.indexfiles"))) { 258 264 PATCH(indexfiles); -
branches/lighttpd-1.3.x/src/connections.c
r367 r446 323 323 buffer_reset(con->physical.path); 324 324 325 if ( srv->srvconf.errorfile_prefix->used) {326 buffer_copy_string_buffer(con->physical.path, srv->srvconf.errorfile_prefix);325 if (con->conf.errorfile_prefix->used) { 326 buffer_copy_string_buffer(con->physical.path, con->conf.errorfile_prefix); 327 327 buffer_append_string(con->physical.path, get_http_status_body_name(con->http_status)); 328 328 } -
branches/lighttpd-1.3.x/src/server.c
r413 r446 137 137 CLEAN(srvconf.changeroot); 138 138 CLEAN(srvconf.bindhost); 139 CLEAN(srvconf.errorfile_prefix);140 139 CLEAN(srvconf.license); 141 140 CLEAN(srvconf.event_handler); … … 217 216 CLEAN(srvconf.changeroot); 218 217 CLEAN(srvconf.bindhost); 219 CLEAN(srvconf.errorfile_prefix);220 218 CLEAN(srvconf.license); 221 219 CLEAN(srvconf.event_handler);

