Changeset 567
- Timestamp:
- 12/30/06 15:38:24 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/cherokee/virtual_server.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r566 r567 1 1 2006-12-30 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * cherokee/virtual_server.c (cherokee_virtual_server_configure): 4 Ensure that, after configuring a virtual server, its document root 5 property has been properly configured. A misconfiguration at this 6 point could make the server crash. 2 7 3 8 * cherokee/main.c (common_server_initialization): The error cherokee/trunk/cherokee/virtual_server.c
r555 r567 778 778 if (ret != ret_ok) return ret; 779 779 780 return ret_ok; 781 } 780 /* Perform some sanity checks 781 */ 782 if (cherokee_buffer_is_empty (&vserver->root)) { 783 PRINT_MSG ("ERROR: Virtual host '%s' needs a document_root\n", name->buf); 784 return ret_error; 785 } 786 787 return ret_ok; 788 }