From 7e9a6ee3c2d81438e111d7a72e55699c90b6e611 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Wed, 23 Mar 2011 19:49:02 +0000 Subject: [PATCH] Attemps to clarify a rather cryptic error message. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1084698 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index ef8bf67855..e9ee6418eb 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -4728,8 +4728,9 @@ static int hook_fixup(request_rec *r) if (!(ap_allow_options(r) & (OPT_SYM_LINKS | OPT_SYM_OWNER))) { /* FollowSymLinks is mandatory! */ ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, - "Options FollowSymLinks or SymLinksIfOwnerMatch is off " - "which implies that RewriteRule directive is forbidden: " + "Options FollowSymLinks or SymLinksIfOwnerMatch is off, " + "so the RewriteRule directive is also forbidden " + "due to its similar ability to circumvent directory restrictions : " "%s", r->filename); return HTTP_FORBIDDEN; } -- 2.40.0