httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject cvs commit: apache/src mod_dir.c
Date Fri, 14 Jun 1996 00:03:45 GMT
brian       96/06/13 17:03:44

  Modified:    src       mod_dir.c
  Log:
  Submitted by:	Brian Behlendorf
  
  Moved method check to past section where detection of DirectoryIndex
  is made, to allow for the possibility of POST to index.cgi.
  
  Revision  Changes    Path
  1.9       +2 -2      apache/src/mod_dir.c
  
  Index: mod_dir.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_dir.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -C3 -r1.8 -r1.9
  *** mod_dir.c	1996/04/12 17:50:01	1.8
  --- mod_dir.c	1996/06/14 00:03:42	1.9
  ***************
  *** 769,776 ****
        char *names_ptr = d->index_names ? d->index_names : DEFAULT_INDEX;
        int allow_opts = allow_options (r);
    
  -     if (r->method_number != M_GET) return NOT_IMPLEMENTED;
  -     
        if (r->uri[0] == '\0' || r->uri[strlen(r->uri)-1] != '/') {
    	char* ifile;
    	if (r->args != NULL)
  --- 769,774 ----
  ***************
  *** 813,818 ****
  --- 811,818 ----
            destroy_sub_req (rr);
        }
    
  +     if (r->method_number != M_GET) return NOT_IMPLEMENTED;
  +     
        /* OK, nothing easy.  Trot out the heavy artillery... */
    
        if (allow_opts & OPT_INDEXES) 
  
  
  

Mime
View raw message