2 Open log files read-only; Jeff Trawick, r1.135 from CVS.
4 --- httpd-2.0.46/server/log.c.rolog
5 +++ httpd-2.0.46/server/log.c
9 if ((rc = apr_file_open(&stderr_file, filename,
10 - APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
11 + APR_APPEND | APR_WRITE | APR_CREATE,
12 APR_OS_DEFAULT, p)) != APR_SUCCESS) {
13 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
14 "%s: could not open error log file %s.",
18 if ((rc = apr_file_open(&s->error_log, fname,
19 - APR_APPEND | APR_READ | APR_WRITE | APR_CREATE,
20 + APR_APPEND | APR_WRITE | APR_CREATE,
21 APR_OS_DEFAULT, p)) != APR_SUCCESS) {
22 ap_log_error(APLOG_MARK, APLOG_STARTUP, rc, NULL,
23 "%s: could not open error log file %s.",