httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Fri, 11 Jan 2002 13:38:28 GMT
trawick     02/01/11 05:38:28

  Modified:    .        CHANGES
               modules/mappers mod_rewrite.c
  Log:
  Fix a segfault in mod_rewrite's logging code caused by passing the
  wrong config to ap_get_remote_host().
  
  Revision  Changes    Path
  1.516     +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.515
  retrieving revision 1.516
  diff -u -r1.515 -r1.516
  --- CHANGES	11 Jan 2002 13:20:54 -0000	1.515
  +++ CHANGES	11 Jan 2002 13:38:28 -0000	1.516
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.31-dev
   
  +  *) Fix a segfault in mod_rewrite's logging code caused by passing the
  +     wrong config to ap_get_remote_host().  [Jeff Trawick]
  +
     *) Allow mod_cgid to work from a binary distribution install by
        using 755 for the permissions on the log directory instead of
        750.  [Jeff Trawick]
  
  
  
  1.93      +1 -1      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- mod_rewrite.c	8 Jan 2002 21:16:08 -0000	1.92
  +++ mod_rewrite.c	11 Jan 2002 13:38:28 -0000	1.93
  @@ -3181,7 +3181,7 @@
           ruser = "\"\"";
       }
   
  -    rhost = ap_get_remote_host(conn, r->server->module_config, 
  +    rhost = ap_get_remote_host(conn, r->per_dir_config, 
                                  REMOTE_NOLOOKUP, NULL);
       if (rhost == NULL) {
           rhost = "UNKNOWN-HOST";
  
  
  

Mime
View raw message