]> granicus.if.org Git - apache/commitdiff
add a pointer to 'rewriteoptions', without giving away the option name, if someone
authorEric Covener <covener@apache.org>
Tue, 3 Jul 2012 16:19:29 +0000 (16:19 +0000)
committerEric Covener <covener@apache.org>
Tue, 3 Jul 2012 16:19:29 +0000 (16:19 +0000)
happens to have rewrite trace on when mod_rewrite declines a non URL-path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1356813 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 7024eae7d4e5f94616038795b2ab2e2409bb2027..8590c5910eb723cd69d8be81804351ebb08779ce 100644 (file)
@@ -4453,7 +4453,9 @@ static int hook_uri2file(request_rec *r)
     if ((dconf->options & OPTION_ANYURI) == 0
         && ((r->unparsed_uri[0] == '*' && r->unparsed_uri[1] == '\0')
             || !r->uri || r->uri[0] != '/')) {
-        rewritelog((r, 8, NULL, "Declining, request-URI '%s' is not a URL-path",
+        rewritelog((r, 8, NULL, "Declining, request-URI '%s' is not a URL-path. "
+                    "Consult the manual entry for the RewriteOptions directive "
+                    "for options and caveats about matching other strings.",
                     r->uri));
         return DECLINED;
     }