From: Jeff Trawick Date: Tue, 24 Oct 2000 11:38:06 +0000 (+0000) Subject: Back out the suexec change to mod_rewrite.c. It now builds again. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2201ce98dace283640c7d31d6b62237d838dd393;p=apache Back out the suexec change to mod_rewrite.c. It now builds again. (No, it wasn't a simple issue to get the suexec patch working.) The suexec support doesn't apply to the external mapping process, which is not related to any particular request. Instead, [IMHO] the external mapping process should switch to the configured user/group that the daemon processes switch to. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86729 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 8f515a5b81..a3084afbbc 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -3383,7 +3383,7 @@ static apr_status_t rewritemap_program_child(apr_pool_t *p, const char *progname } else { procnew = apr_pcalloc(p, sizeof(*procnew)); - rc = ap_os_create_privileged_process(r, procnew, progname, NULL, NULL, procattr, p); + rc = apr_create_process(procnew, progname, NULL, NULL, procattr, p); if (rc == APR_SUCCESS) { apr_note_subprocess(p, procnew, kill_after_timeout);