httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_rewrite.c
Date Tue, 24 Oct 2000 11:38:10 GMT
trawick     00/10/24 04:38:08

  Modified:    src/modules/standard mod_rewrite.c
  Log:
  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.
  
  Revision  Changes    Path
  1.46      +1 -1      apache-2.0/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- mod_rewrite.c	2000/10/23 15:30:53	1.45
  +++ mod_rewrite.c	2000/10/24 11:38:06	1.46
  @@ -3383,7 +3383,7 @@
       }
       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);
  
  
  

Mime
View raw message