Loading APACHE_1_2_X/src/CHANGES +2 −0 Original line number Diff line number Diff line Changes with Apache 1.2.1 *) Improved unix error response logging. [Marc Slemko] *) Update mod_rewrite from 3.0.5 to 3.0.6. New ruleflag QSA=query_string_append. Also fixed a nasty bug in per-dir context: when a URL http://... was used in concunction with a special Loading APACHE_1_2_X/src/main/util_script.c +4 −1 Original line number Diff line number Diff line Loading @@ -502,7 +502,10 @@ void call_exec (request_rec *r, char *argv0, char **env, int shellcmd) program = fopen (r->filename, "r"); if (!program) { char err_string[HUGE_STRING_LEN]; ap_snprintf(err_string, sizeof(err_string), "open of %s failed, errno is %d\n", r->filename, errno); ap_snprintf(err_string, sizeof(err_string), "open of %s failed, reason: fopen: %s (errno = %d)\n", r->filename, strerror(errno), errno); /* write(2, err_string, strlen(err_string)); */ /* exit(0); */ log_unixerr("fopen", NULL, err_string, r->server); Loading APACHE_1_2_X/src/modules/standard/mod_cgi.c +2 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,8 @@ void cgi_child (void *child_stuff) */ ap_snprintf(err_string, sizeof(err_string), "exec of %s failed, errno is %d\n", r->filename, errno); "exec of %s failed, reason: %s (errno = %d)\n", r->filename, strerror(errno), errno); write(2, err_string, strlen(err_string)); exit(0); } Loading APACHE_1_2_X/src/modules/standard/mod_include.c +2 −2 Original line number Diff line number Diff line Loading @@ -646,8 +646,8 @@ void include_cmd_child (void *arg) fprintf (dbg, "Exec failed\n"); #endif ap_snprintf(err_string, sizeof(err_string), "httpd: exec of %s failed, errno is %d\n", SHELL_PATH,errno); "httpd: exec of %s failed, reason: %s (errno = %d)\n", SHELL_PATH, strerror(errno), errno); write (2, err_string, strlen(err_string)); exit(0); } Loading Loading
APACHE_1_2_X/src/CHANGES +2 −0 Original line number Diff line number Diff line Changes with Apache 1.2.1 *) Improved unix error response logging. [Marc Slemko] *) Update mod_rewrite from 3.0.5 to 3.0.6. New ruleflag QSA=query_string_append. Also fixed a nasty bug in per-dir context: when a URL http://... was used in concunction with a special Loading
APACHE_1_2_X/src/main/util_script.c +4 −1 Original line number Diff line number Diff line Loading @@ -502,7 +502,10 @@ void call_exec (request_rec *r, char *argv0, char **env, int shellcmd) program = fopen (r->filename, "r"); if (!program) { char err_string[HUGE_STRING_LEN]; ap_snprintf(err_string, sizeof(err_string), "open of %s failed, errno is %d\n", r->filename, errno); ap_snprintf(err_string, sizeof(err_string), "open of %s failed, reason: fopen: %s (errno = %d)\n", r->filename, strerror(errno), errno); /* write(2, err_string, strlen(err_string)); */ /* exit(0); */ log_unixerr("fopen", NULL, err_string, r->server); Loading
APACHE_1_2_X/src/modules/standard/mod_cgi.c +2 −1 Original line number Diff line number Diff line Loading @@ -333,7 +333,8 @@ void cgi_child (void *child_stuff) */ ap_snprintf(err_string, sizeof(err_string), "exec of %s failed, errno is %d\n", r->filename, errno); "exec of %s failed, reason: %s (errno = %d)\n", r->filename, strerror(errno), errno); write(2, err_string, strlen(err_string)); exit(0); } Loading
APACHE_1_2_X/src/modules/standard/mod_include.c +2 −2 Original line number Diff line number Diff line Loading @@ -646,8 +646,8 @@ void include_cmd_child (void *arg) fprintf (dbg, "Exec failed\n"); #endif ap_snprintf(err_string, sizeof(err_string), "httpd: exec of %s failed, errno is %d\n", SHELL_PATH,errno); "httpd: exec of %s failed, reason: %s (errno = %d)\n", SHELL_PATH, strerror(errno), errno); write (2, err_string, strlen(err_string)); exit(0); } Loading