You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@hyperreal.org on 1998/05/04 04:38:44 UTC

cvs commit: apache-1.3/src/modules/standard mod_alias.c

brian       98/05/03 19:38:44

  Modified:    .        STATUS
               src      CHANGES
               src/modules/standard mod_alias.c
  Log:
  Submitted by:	Dean Gaudet
  Reviewed by:	Ben Laurie, Jim Jagielski
  
  Fix to mod_alias: translate_alias_redir is dealing with a URI, not a
  filename, so the check for drive letters for win32 and emx is not
  necessary.
  
  Revision  Changes    Path
  1.358     +0 -4      apache-1.3/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.357
  retrieving revision 1.358
  diff -u -r1.357 -r1.358
  --- STATUS	1998/05/04 02:31:47	1.357
  +++ STATUS	1998/05/04 02:38:34	1.358
  @@ -45,10 +45,6 @@
   
   Available Patches:
   
  -    * Dean's mod_alias.c, translate_alias_redir patch
  -      <Pi...@twinlark.arctic.org>
  -      Status: Dean, Ben, Jim +1
  -
       * Arnt Gulbrandsen <ag...@troll.no> 03 Apr 1998 21:28:17 +0200
         <m3...@lupinella.troll.no> mod_usertrack.c patch:
         The patch provides per-domain cookies (which I use to share user-ids
  
  
  
  1.814     +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.813
  retrieving revision 1.814
  diff -u -r1.813 -r1.814
  --- CHANGES	1998/05/03 22:56:15	1.813
  +++ CHANGES	1998/05/04 02:38:39	1.814
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b7
   
  +  *) Fix to mod_alias: translate_alias_redir is dealing with
  +     a URI, not a filename, so the check for drive letters for win32 
  +     and emx is not necessary. [Dean Gaudet]
  +
     *) WIN32: Allow .cmd as an executable extension.
        [Kari Likovuori <Ka...@mol.fi>] PR#2146
   
  
  
  
  1.36      +0 -5      apache-1.3/src/modules/standard/mod_alias.c
  
  Index: mod_alias.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_alias.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- mod_alias.c	1998/04/13 18:05:15	1.35
  +++ mod_alias.c	1998/05/04 02:38:43	1.36
  @@ -353,12 +353,7 @@
       char *ret;
       int status;
   
  -#if defined(__EMX__) || defined(WIN32)
  -    /* Add support for OS/2 drive names */
  -    if ((r->uri[0] != '/' && r->uri[0] != '\0') && r->uri[1] != ':')
  -#else
       if (r->uri[0] != '/' && r->uri[0] != '\0')
  -#endif
   	return DECLINED;
   
       if ((ret = try_alias_list(r, serverconf->redirects, 1, &status)) != NULL) {