httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_rewrite.c
Date Wed, 08 Apr 1998 06:40:25 GMT
rse         98/04/07 23:40:25

  Modified:    .        STATUS
               src      CHANGES
               src/modules/standard mod_rewrite.c
  Log:
  A little fix for the error messages from RewriteBase directive.
  
  Submitted by: Todd Eigenschink <eigenstr@mixi.net>
  Reviewed by: Ralf S. Engelschall
  
  Revision  Changes    Path
  1.276     +1 -0      apache-1.3/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.275
  retrieving revision 1.276
  diff -u -r1.275 -r1.276
  --- STATUS	1998/04/07 15:15:17	1.275
  +++ STATUS	1998/04/08 06:40:21	1.276
  @@ -155,6 +155,7 @@
       * Ralf's add of the query (-q) option to apxs
       * Ralf's initial doc and Configuration.tmpl entry for mod_mmap_static
       * OS/2 tweak to deal with multiple .exe targets. [Brian Havard]
  +    * Fixed ordering of argument checks for RewriteBase directive, PR#2045
   
   Available Patches:
   
  
  
  
  1.759     +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.758
  retrieving revision 1.759
  diff -u -r1.758 -r1.759
  --- CHANGES	1998/04/06 05:21:40	1.758
  +++ CHANGES	1998/04/08 06:40:22	1.759
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b6
   
  +  *) Fixed ordering of argument checks for RewriteBase directive.
  +     [Todd Eigenschink <eigenstr@mixi.net>, PR#2045]
  +
     *) Change Win32 IS_MODULE to SHARED_MODULE to match Unix' method of
        indicating that a module is being compiled for dynamic loading. Also
        remove #define IS_MODULE from modules and add SHARED_MODULE define
  
  
  
  1.100     +2 -2      apache-1.3/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.99
  retrieving revision 1.100
  diff -u -r1.99 -r1.100
  --- mod_rewrite.c	1998/04/01 14:24:35	1.99
  +++ mod_rewrite.c	1998/04/08 06:40:24	1.100
  @@ -520,10 +520,10 @@
   {
       if (cmd->path == NULL || dconf == NULL)
           return "RewriteBase: only valid in per-directory config files";
  -    if (a1[0] != '/')
  -        return "RewriteBase: argument is not a valid URL";
       if (a1[0] == '\0')
           return "RewriteBase: empty URL not allowed";
  +    if (a1[0] != '/')
  +        return "RewriteBase: argument is not a valid URL";
   
       dconf->baseurl = a1;
   
  
  
  

Mime
View raw message