httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: httpd-2.0/modules/http http_request.c
Date Fri, 05 Apr 2002 17:43:03 GMT
rbb         02/04/05 09:43:03

  Modified:    modules/http http_request.c
  Log:
  This fixes the mod_autoindex problem of not getting the list of files.
  The problem was that the internal_fast_redirect removed the SUB_REQ
  filter, but we are still in a sub_request.  The solution is to have the
  fast_internal_Redirect function check if we are in a sub_Request and
  re-add the filter if we are.
  Submitted by:	Ryan Bloom, Greg Ames, Jeff Trawick, and Will Rowe
  
  Revision  Changes    Path
  1.136     +5 -0      httpd-2.0/modules/http/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/http/http_request.c,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- http_request.c	29 Mar 2002 08:17:23 -0000	1.135
  +++ http_request.c	5 Apr 2002 17:43:03 -0000	1.136
  @@ -420,6 +420,11 @@
   
       r->output_filters = rr->output_filters;
       r->input_filters = rr->input_filters;
  +
  +    if (r->main) {
  +        ap_add_output_filter_handle(ap_subreq_core_filter_handle,
  +                                    NULL, r, r->connection);
  +    }
   }
   
   AP_DECLARE(void) ap_internal_redirect(const char *new_uri, request_rec *r)
  
  
  

Mime
View raw message