]> granicus.if.org Git - apache/commitdiff
Back out the suexec change to mod_rewrite.c. It now builds again.
authorJeff Trawick <trawick@apache.org>
Tue, 24 Oct 2000 11:38:06 +0000 (11:38 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 24 Oct 2000 11:38:06 +0000 (11:38 +0000)
(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

index 8f515a5b81f12f8056caaafdd50a73a747155026..a3084afbbc22e7d85ef0b6b5d0c281b6d2c69abf 100644 (file)
@@ -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);