httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rede...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Tue, 15 Jul 2003 18:43:41 GMT
rederpj     2003/07/15 11:43:41

  Modified:    modules/mappers mod_rewrite.c
  Log:
  Namespace protected the table label.
  
  Revision  Changes    Path
  1.157     +2 -2      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.156
  retrieving revision 1.157
  diff -u -r1.156 -r1.157
  --- mod_rewrite.c	15 Jul 2003 17:49:03 -0000	1.156
  +++ mod_rewrite.c	15 Jul 2003 18:43:41 -0000	1.157
  @@ -1183,7 +1183,7 @@
                         thisurl, NULL);
       apr_table_setn(r->subprocess_env, ENVVAR_SCRIPT_URI, var);
   
  -    if (!(saved_rulestatus = apr_table_get(r->notes,"already_rewritten"))) {
  +    if (!(saved_rulestatus = apr_table_get(r->notes,"mod_rewrite_rewritten"))) {
       /* if filename was not initially set,
        * we start with the requested URI
        */
  @@ -1201,7 +1201,7 @@
        *  now apply the rules ...
        */
       rulestatus = apply_rewrite_list(r, conf->rewriterules, NULL);
  -    apr_table_set(r->notes,"already_rewritten",
  +    apr_table_set(r->notes,"mod_rewrite_rewritten",
                     apr_psprintf(r->pool,"%d",rulestatus));
       }
       else {
  
  
  

Mime
View raw message