From 56a50e52a56d0c1addea350f8bef5648ab023601 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Tue, 24 Oct 2000 11:38:06 +0000 Subject: [PATCH] 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 --- modules/mappers/mod_rewrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0