fielding    97/03/07 05:15:39

  Modified:    src       CHANGES http_core.c
  Log:
  Fixed error message when resource is not found and URL contains
  path info.
  
  Submitted by: Petr Lampa and Dean Gaudet
  Reviewed by: Roy Fielding, Chuck Murcko
  
  Revision  Changes    Path
  1.185     +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.184
  retrieving revision 1.185
  diff -C3 -r1.184 -r1.185
  *** CHANGES   1997/03/07 12:00:30     1.184
  --- CHANGES   1997/03/07 13:15:37     1.185
  ***************
  *** 1,5 ****
  --- 1,8 ----
    Changes with Apache 1.2b8
    
  +   *) Fixed error message when resource is not found and URL contains
  +      path info. [Petr Lampa and Dean Gaudet]
  + 
      *) Fixed user and server confusion over what should be a virtual host
         and what is the main server, resulting in access to something
         other than the name defined in the virtualhost directive (but
  
  
  
  1.71      +3 -1      apache/src/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_core.c,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -C3 -r1.70 -r1.71
  *** http_core.c       1997/02/17 10:46:06     1.70
  --- http_core.c       1997/03/07 13:15:37     1.71
  ***************
  *** 1300,1306 ****
        if (r->method_number != M_GET) return METHOD_NOT_ALLOWED;
    
        if (r->finfo.st_mode == 0 || (r->path_info && *r->path_info)) {
  !     log_reason("File does not exist", r->filename, r);
        return NOT_FOUND;
        }
        
  --- 1300,1308 ----
        if (r->method_number != M_GET) return METHOD_NOT_ALLOWED;
    
        if (r->finfo.st_mode == 0 || (r->path_info && *r->path_info)) {
  !     log_reason("File does not exist",
  !         r->path_info ? pstrcat(r->pool, r->filename, r->path_info, NULL)
  !             : r->filename, r);
        return NOT_FOUND;
        }
        
  
  
  

Reply via email to