You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2014/05/22 22:29:29 UTC

svn commit: r1596963 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Author: trawick
Date: Thu May 22 20:29:29 2014
New Revision: 1596963

URL: http://svn.apache.org/r1596963
Log:
the fixup hook should log (what is expected to be) local 
path just like the translate name hook, for a small hint
when debugging 400 errors set just below

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1596963&r1=1596962&r2=1596963&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Thu May 22 20:29:29 2014
@@ -5016,6 +5016,8 @@ static int hook_fixup(request_rec *r)
                 r->filename = apr_pstrdup(r->pool, r->filename+12);
             }
 
+            rewritelog((r, 2, NULL, "local path result: %s", r->filename));
+
             /* the filename must be either an absolute local path or an
              * absolute local URL.
              */