Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

cvs commit: apache/src mod_negotiation.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


akosut at hyperreal

Apr 9, 1996, 3:49 PM

Post #1 of 1 (147 views)
Permalink
cvs commit: apache/src mod_negotiation.c

akosut 96/04/09 15:49:56

Modified: src mod_negotiation.c
Log:
Fix problem where files with handlers but no types were getting ignored
with MultiViews.

Revision Changes Path
1.5 +8 -1 apache/src/mod_negotiation.c

Index: mod_negotiation.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_negotiation.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C3 -r1.4 -r1.5
*** mod_negotiation.c 1996/04/02 10:48:49 1.4
--- mod_negotiation.c 1996/04/09 22:49:54 1.5
***************
*** 662,668 ****
*/

sub_req = sub_req_lookup_file (dir_entry->d_name, r);
!
if (sub_req->status != 200 || !sub_req->content_type) continue;

/* If it's a map file, we use that instead of the map
--- 662,675 ----
*/

sub_req = sub_req_lookup_file (dir_entry->d_name, r);
!
! /* If it has a handler, we'll pretend it's a CGI script,
! * since that's a good indication of the sort of thing it
! * might be doing.
! */
! if (sub_req->handler && !sub_req->content_type)
! sub_req->content_type = CGI_MAGIC_TYPE;
!
if (sub_req->status != 200 || !sub_req->content_type) continue;

/* If it's a map file, we use that instead of the map

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.