From: Rich Bowen Date: Wed, 23 Mar 2011 19:49:02 +0000 (+0000) Subject: Attemps to clarify a rather cryptic error message. X-Git-Tag: 2.3.12~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e9a6ee3c2d81438e111d7a72e55699c90b6e611;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index ef8bf678550..e9ee6418eb9 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; }