Changeset 1608
- Timestamp:
- 07/04/08 14:10:02 (2 months ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/handler_dirlist.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r1607 r1608 1 1 2008-07-04 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/handler_dirlist.c (check_request_finish_with_slash): 4 Adapted to use the new method: use_webdir. 2 5 3 6 * cherokee/connection.c (cherokee_connection_use_webdir), cherokee/trunk/cherokee/handler_dirlist.c
r1601 r1608 454 454 455 455 if ((cherokee_buffer_is_empty (&conn->request)) || 456 (!cherokee_buffer_is_endding (&conn->request, '/'))) { 457 456 (!cherokee_buffer_is_endding (&conn->request, '/'))) 457 { 458 /* Build the redirection address 459 */ 458 460 cherokee_buffer_clean (&conn->redirect); 459 461 cherokee_buffer_ensure_size (&conn->redirect, … … 465 467 } 466 468 467 /* Build the redirection 468 */ 469 if ((conn->options & conn_op_document_root) && 470 (! cherokee_buffer_is_empty (&conn->web_directory))) 471 { 469 /* In case the connection has a custom Document Root directory, 470 * it must add the web equivalent directory to the path (web_directory). 471 */ 472 if (cherokee_connection_use_webdir (conn)) { 472 473 cherokee_buffer_add_buffer (&conn->redirect, &conn->web_directory); 473 474 }