httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@hyperreal.org>
Subject cvs commit: apache/src mod_rewrite.c
Date Thu, 24 Jul 1997 15:16:50 GMT
rse         97/07/24 08:16:49

  Modified:    src       mod_rewrite.c
  Log:
  bugfix for logfile which missed the negation character.
  
  Revision  Changes    Path
  1.38      +3 -1      apache/src/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_rewrite.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- mod_rewrite.c	1997/07/24 04:38:11	1.37
  +++ mod_rewrite.c	1997/07/24 15:16:46	1.38
  @@ -1795,7 +1795,9 @@
       if (p->flags & CONDFLAG_NOTMATCH) 
           rc = !rc;
   
  -    rewritelog(r, 4, "RewriteCond: input='%s' pattern='%s' => %s", input, p->pattern,
rc ? "matched" : "not-matched");
  +    rewritelog(r, 4, "RewriteCond: input='%s' pattern='%s%s' => %s", 
  +               input, (p->flags & CONDFLAG_NOTMATCH ? "!" : ""), 
  +               p->pattern, rc ? "matched" : "not-matched");
   
       /* end just return the result */
       return rc;
  
  
  

Mime
View raw message