httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Thu, 24 Jul 2003 22:24:40 GMT
nd          2003/07/24 15:24:40

  Modified:    modules/mappers mod_rewrite.c
  Log:
  indentation. no code change
  
  Revision  Changes    Path
  1.174     +18 -18    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.173
  retrieving revision 1.174
  diff -u -r1.173 -r1.174
  --- mod_rewrite.c	24 Jul 2003 20:50:50 -0000	1.173
  +++ mod_rewrite.c	24 Jul 2003 22:24:40 -0000	1.174
  @@ -1152,25 +1152,25 @@
       apr_table_setn(r->subprocess_env, ENVVAR_SCRIPT_URI, var);
   
       if (!(saved_rulestatus = apr_table_get(r->notes,"mod_rewrite_rewritten"))) {
  -    /* if filename was not initially set,
  -     * we start with the requested URI
  -     */
  -    if (r->filename == NULL) {
  -        r->filename = apr_pstrdup(r->pool, r->uri);
  -        rewritelog(r, 2, "init rewrite engine with requested uri %s",
  -                   r->filename);
  -    }
  -    else {
  -        rewritelog(r, 2, "init rewrite engine with passed filename %s."
  -                   " Original uri = %s", r->filename, r->uri);
  -    }
  +        /* if filename was not initially set,
  +         * we start with the requested URI
  +         */
  +        if (r->filename == NULL) {
  +            r->filename = apr_pstrdup(r->pool, r->uri);
  +            rewritelog(r, 2, "init rewrite engine with requested uri %s",
  +                       r->filename);
  +        }
  +        else {
  +            rewritelog(r, 2, "init rewrite engine with passed filename %s."
  +                       " Original uri = %s", r->filename, r->uri);
  +        }
   
  -    /*
  -     *  now apply the rules ...
  -     */
  -    rulestatus = apply_rewrite_list(r, conf->rewriterules, NULL);
  -    apr_table_set(r->notes,"mod_rewrite_rewritten",
  -                  apr_psprintf(r->pool,"%d",rulestatus));
  +        /*
  +         *  now apply the rules ...
  +         */
  +        rulestatus = apply_rewrite_list(r, conf->rewriterules, NULL);
  +        apr_table_set(r->notes,"mod_rewrite_rewritten",
  +                      apr_psprintf(r->pool,"%d",rulestatus));
       }
       else {
           rewritelog(r, 2,
  
  
  

Mime
View raw message