httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: 2.0.34 - erratic behavior with autoindexes
Date Tue, 02 Apr 2002 21:28:31 GMT
Jeff Trawick <trawick@attglobal.net> writes:

> Greg Ames <gregames@remulak.net> writes:
> 
> > I noticed something weird on daedalus on the test build.  It looks like we're
> > not autoindexing directories with HEADER.html or README.html files correctly. 
> > You see the contents of HEADER.html and/or README.html, but not the other files
> > or subdirs in the directory.  Often, the Mozilla animation keeps going as if the
> > browser thinks more info is coming. 
> 
> FYI... ripping out INCLUDES doesn't seem to make a difference
> (simplification of the problem :) ).
> 
> Here's a backtrace while processing /dist/httpd/.  Where is the
> subrequest filter?

maybe this helps... haven't tested yet

Index: request.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/request.c,v
retrieving revision 1.108
diff -u -r1.108 request.c
--- request.c	27 Mar 2002 22:42:16 -0000	1.108
+++ request.c	2 Apr 2002 21:30:33 -0000
@@ -1535,8 +1535,6 @@
         rnew->proto_input_filters = r->proto_input_filters;
         rnew->output_filters = next_filter;
         rnew->proto_output_filters = r->proto_output_filters;
-        ap_add_output_filter_handle(ap_subreq_core_filter_handle,
-                                    NULL, rnew, rnew->connection);
     }
     else {
         /* If NULL - we are expecting to be internal_fast_redirect'ed
@@ -1550,6 +1548,9 @@
         rnew->input_filters = r->proto_input_filters;
         rnew->output_filters = r->proto_output_filters;
     }
+
+    ap_add_output_filter_handle(ap_subreq_core_filter_handle,
+                                NULL, rnew, rnew->connection);
 
     /* no input filters for a subrequest */
 

-- 
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...

Mime
View raw message