httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/support suexec.c
Date Mon, 14 Jul 2003 16:04:48 GMT
nd          2003/07/14 09:04:48

  Modified:    .        CHANGES
               modules/mappers mod_actions.c
               support  suexec.c
  Log:
  Propagate the handler name to the action script via
  the REDIRECT_HANDLER environment variable.
  
  Revision  Changes    Path
  1.1221    +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1220
  retrieving revision 1.1221
  diff -u -r1.1220 -r1.1221
  --- CHANGES	14 Jul 2003 15:08:07 -0000	1.1220
  +++ CHANGES	14 Jul 2003 16:04:46 -0000	1.1221
  @@ -2,6 +2,9 @@
   
     [Remove entries to the current 2.0 section below, when backported]
   
  +  *) mod_actions: Propagate the handler name to the action script via
  +     the REDIRECT_HANDLER environment variable.  [André Malo]
  +
     *) mod_ext_filter: Set additional environment variables for use by
        the external filter.  PR 20944.  [Andrew Ho, Jeff Trawick]
   
  
  
  
  1.33      +4 -0      httpd-2.0/modules/mappers/mod_actions.c
  
  Index: mod_actions.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_actions.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- mod_actions.c	14 Jul 2003 12:36:20 -0000	1.32
  +++ mod_actions.c	14 Jul 2003 16:04:47 -0000	1.33
  @@ -228,6 +228,10 @@
           }
   
           script = t;
  +        /* propagate the handler name to the script
  +         * (will be REDIRECT_HANDLER there)
  +         */
  +        apr_table_setn(r->subprocess_env, "HANDLER", action);
       }
   
       if (script == NULL)
  
  
  
  1.26      +1 -0      httpd-2.0/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/support/suexec.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- suexec.c	19 Feb 2003 21:27:05 -0000	1.25
  +++ suexec.c	14 Jul 2003 16:04:47 -0000	1.26
  @@ -158,6 +158,7 @@
       "REMOTE_IDENT=",
       "REMOTE_PORT=",
       "REMOTE_USER=",
  +    "REDIRECT_HANDLER=",
       "REDIRECT_QUERY_STRING=",
       "REDIRECT_STATUS=",
       "REDIRECT_URL=",
  
  
  

Mime
View raw message